HomeSort by relevance Sort by last modified time
    Searched refs:id_string (Results 1 - 25 of 33) sorted by null

1 2

  /external/chromium_org/sync/syncable/
syncable_proto_util.cc 29 return SyncableIdFromProto(entity.id_string()).IsRoot();
nigori_util.cc 110 Id id_string = type_root.GetFirstChildId(); local
111 to_visit.push(id_string);
113 id_string = to_visit.front();
115 if (id_string.IsRoot())
118 Entry child(trans, GET_BY_ID, id_string);
directory_backing_store.cc 1242 std::string id_string; local
    [all...]
  /external/chromium_org/sync/internal_api/
base_node.cc 179 syncable::Id id_string = GetEntry()->GetPredecessorId(); local
180 if (id_string.IsRoot())
182 return IdToMetahandle(GetTransaction()->GetWrappedTrans(), id_string);
186 syncable::Id id_string = GetEntry()->GetSuccessorId(); local
187 if (id_string.IsRoot())
189 return IdToMetahandle(GetTransaction()->GetWrappedTrans(), id_string);
193 syncable::Id id_string = GetEntry()->GetFirstChildId(); local
194 if (id_string.IsRoot())
196 return IdToMetahandle(GetTransaction()->GetWrappedTrans(), id_string);
  /external/chromium_org/sync/tools/testserver/
chromiumsync_test.py 25 self.model._entries[proto.id_string] = proto
61 proto.id_string = 'abcd'
63 self.assertFalse(self.model._ItemExists(proto.id_string))
66 self.assertTrue(self.model._ItemExists(proto.id_string))
70 self.assertTrue(self.model._ItemExists(proto.id_string))
71 self.assertEqual(2, self.model._entries[proto.id_string].version)
137 entry.id_string = 'batch test %d' % i
161 entry.id_string = 'batch test %d' % i
196 def DoCommit(original=None, id_string='', name=None, parent=None,
201 proto.id_string = original.id_strin
    [all...]
chromiumsync.py 604 base_entry = self._entries.get(entry.id_string)
609 self._entries[entry.id_string] = copy.deepcopy(entry)
672 def _ExtractIdInfo(self, id_string):
673 if not id_string or id_string == ROOT_ID:
675 datatype_string, separator, remainder = id_string.partition('^')
703 def _ItemExists(self, id_string):
705 return id_string in self._entries
715 id_string = self._ServerTagToId(spec.tag)
716 if self._ItemExists(id_string)
    [all...]
  /external/chromium_org/sync/engine/
entity_tracker.cc 16 const std::string& id_string,
19 return new EntityTracker(id_string, client_tag_hash, 0, received_version);
23 const std::string& id_string,
32 return new EntityTracker(id_string,
entity_tracker.h 37 static EntityTracker* FromServerUpdate(const std::string& id_string,
43 const std::string& id_string,
directory_update_handler_unittest.cc 283 type_root->id_string(),
288 type_root->id_string(),
305 EXPECT_TRUE(EntryExists(type_root->id_string()));
306 EXPECT_TRUE(EntryExists(e1->id_string()));
307 EXPECT_TRUE(EntryExists(e2->id_string()));
315 EXPECT_TRUE(EntryExists(type_root->id_string()));
316 EXPECT_FALSE(EntryExists(e1->id_string()));
317 EXPECT_TRUE(EntryExists(e2->id_string()));
346 type_root->id_string(),
359 EXPECT_TRUE(EntryExists(type_root->id_string()));
    [all...]
process_updates_util.cc 52 SyncableIdFromProto(update.id_string()));
102 syncable::Id id = SyncableIdFromProto(entry.id_string());
181 const syncable::Id& server_id = SyncableIdFromProto(update.id_string());
commit_util.cc 253 << " new_id:" << SyncableIdFromProto(entry_response.id_string())
274 SyncableIdFromProto(entry_response.id_string());
363 << " new_id:" << SyncableIdFromProto(entry_response.id_string())
448 SyncableIdFromProto(server_entry.id_string());
entity_tracker_unittest.cc 75 EXPECT_EQ(kServerId, pb_entity.id_string());
model_type_sync_worker_impl.cc 119 DCHECK_EQ(data_type_state_.type_root_id, update_entity->id_string());
121 data_type_state_.type_root_id = update_entity->id_string();
132 EntityTracker::FromServerUpdate(update_entity->id_string(),
142 response_data.id = update_entity->id_string();
non_blocking_type_commit_contribution.cc 71 response_data.id = entry_response.id_string();
model_type_sync_worker_impl_unittest.cc 674 EXPECT_FALSE(entity.id_string().empty());
694 EXPECT_NE(entity.id_string(), commit_response.id);
725 EXPECT_FALSE(entity.id_string().empty());
741 EXPECT_EQ(entity.id_string(), commit_response.id);
817 EXPECT_NE(tag1_entity.id_string(), tag2_entity.id_string());
    [all...]
directory_commit_contribution_unittest.cc 95 if (entity.id_string()[0] == '-') // Look for the - in 'c-1234' style IDs.
98 response->set_id_string(entity.id_string());
196 entity.id_string()));
  /external/chromium_org/apps/
saved_files_service_unittest.cc 63 std::string id_string = GenerateId(id); local
64 SCOPED_TRACE(id_string);
65 EXPECT_TRUE(service_->IsRegistered(extension_->id(), id_string));
67 service_->GetFileEntry(extension_->id(), id_string);
69 EXPECT_EQ(id_string, entry->id);
  /external/chromium_org/sync/test/fake_server/
bookmark_entity.cc 41 string originator_client_item_id = client_entity.id_string();
72 return new BookmarkEntity(client_entity.id_string(),
fake_server.cc 326 entity = TombstoneEntity::Create(client_entity.id_string());
329 if (!DeleteChildren(client_entity.id_string())) {
337 entities_[client_entity.id_string()]);
342 if (entities_.find(client_entity.id_string()) != entities_.end()) {
345 entities_[client_entity.id_string()],
442 if (entity_id != client_entity.id_string()) {
443 client_to_server_ids[client_entity.id_string()] = entity_id;
  /external/chromium_org/sync/test/engine/
mock_connection_manager.cc 398 last_sent_commit().entries(0).id_string()));
409 last_commit_response().entryresponse(0).id_string());
415 last_commit_response().entryresponse(0).id_string());
442 string id_string = GetMutableLastUpdate()->id_string(); local
444 AddUpdateTombstone(syncable::Id::CreateFromServerId(id_string));
578 string id_string = entry.id_string(); local
585 id = syncable::Id::CreateFromClientString(id_string);
587 id = syncable::Id::CreateFromServerId(id_string);
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/bookmarks/
bookmarks_api.h 140 bool GetBookmarkIdAsInt64(const std::string& id_string, int64* id);
145 const BookmarkNode* GetBookmarkNodeFromId(const std::string& id_string);
bookmarks_api.cc 120 bool BookmarksFunction::GetBookmarkIdAsInt64(const std::string& id_string,
122 if (base::StringToInt64(id_string, id))
130 const std::string& id_string) {
132 if (!GetBookmarkIdAsInt64(id_string, &id))
557 std::string id_string; local
558 if (!args->GetString(0, &id_string))
561 if (base::StringToInt64(id_string, &id))
  /external/chromium_org/components/bookmarks/browser/
bookmark_codec.cc 275 std::string id_string; local
278 if (!value.GetString(kIdKey, &id_string) ||
279 !base::StringToInt64(id_string, &id) ||
319 UpdateChecksumWithUrlNode(id_string, title, url_string);
347 UpdateChecksumWithFolderNode(id_string, title);
  /external/chromium_org/storage/browser/fileapi/
sandbox_directory_database.cc 863 std::string id_string; local
865 db_->Get(leveldb::ReadOptions(), LastFileIdKey(), &id_string);
867 if (!base::StringToInt64(id_string, file_id)) {
891 std::string id_string = GetFileLookupKey(file_id); local
898 batch->Put(child_key, id_string);
904 id_string,
  /external/chromium_org/components/policy/core/common/
schema.cc 437 std::string id_string; local
438 if (schema.GetString(schema::kId, &id_string)) {
485 std::string id_string; local
486 if (schema.GetString(schema::kId, &id_string)) {
487 if (ContainsKey(*id_map, id_string)) {
488 *error = "Duplicated id: " + id_string;
491 (*id_map)[id_string] = *index;
    [all...]

Completed in 990 milliseconds

1 2