/external/chromium/net/tools/testserver/ |
chromiumsync.py | 301 base_entry = self._entries.get(entry.id_string) 306 self._entries[entry.id_string] = DeepCopyOfProto(entry) 379 if current_limit_entry.id_string == entry.id_string: 388 if prev_id == entry.id_string: 399 if item.id_string != prev_id: 401 elif successor.id_string == entry.id_string: 417 def _ItemExists(self, id_string): 419 return id_string in self._entrie [all...] |
chromiumsync_test.py | 20 self.model._entries[proto.id_string] = proto 46 proto.id_string = 'abcd' 48 self.assertFalse(self.model._ItemExists(proto.id_string)) 51 self.assertTrue(self.model._ItemExists(proto.id_string)) 55 self.assertTrue(self.model._ItemExists(proto.id_string)) 56 self.assertEqual(2, self.model._entries[proto.id_string].version) 59 def MakeProto(id_string, parent, position): 61 proto.id_string = id_string 76 entry.id_string = my_i [all...] |
/external/chromium_org/sync/syncable/ |
syncable_proto_util.cc | 29 return SyncableIdFromProto(entity.id_string()).IsRoot();
|
nigori_util.cc | 111 Id id_string = type_root.GetFirstChildId(); local 112 to_visit.push(id_string); 114 id_string = to_visit.front(); 116 if (id_string.IsRoot()) 119 Entry child(trans, GET_BY_ID, 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 | 590 base_entry = self._entries.get(entry.id_string) 595 self._entries[entry.id_string] = copy.deepcopy(entry) 653 def _ExtractIdInfo(self, id_string): 654 if not id_string or id_string == ROOT_ID: 656 datatype_string, separator, remainder = id_string.partition('^') 684 def _ItemExists(self, id_string): 686 return id_string in self._entries 696 id_string = self._ServerTagToId(spec.tag) 697 if self._ItemExists(id_string) [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_bookmark_manager_api.cc | 34 std::string id_string; local 35 if (!args->GetString(0, &id_string)) 38 if (!base::StringToInt64(id_string, &id)) 57 std::string id_string; local 58 if (!ids->GetString(i, &id_string)) 61 if (!base::StringToInt64(id_string, &id)) 80 std::string id_string = base::Int64ToString(node.id()); local 81 dict->SetString(keys::kIdKey, id_string); 389 std::string id_string; local 390 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &id_string)); 439 std::string id_string; local [all...] |
extension_bookmarks_module.cc | 96 const std::string& id_string, int64* id) { 97 if (base::StringToInt64(id_string, id)) 286 std::string id_string; local 287 EXTENSION_FUNCTION_VALIDATE(ids->GetString(i, &id_string)); 288 if (!GetBookmarkIdAsInt64(id_string, &id)) 300 std::string id_string; local 301 EXTENSION_FUNCTION_VALIDATE(arg0->GetAsString(&id_string)); 302 if (!GetBookmarkIdAsInt64(id_string, &id)) 319 std::string id_string; local 320 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &id_string)); 392 std::string id_string; local [all...] |
extension_bookmarks_module.h | 88 bool GetBookmarkIdAsInt64(const std::string& id_string, int64* id);
|
/external/chromium_org/sync/internal_api/ |
base_node.cc | 198 syncable::Id id_string = GetEntry()->GetPredecessorId(); local 199 if (id_string.IsRoot()) 201 return IdToMetahandle(GetTransaction()->GetWrappedTrans(), id_string); 205 syncable::Id id_string = GetEntry()->GetSuccessorId(); local 206 if (id_string.IsRoot()) 208 return IdToMetahandle(GetTransaction()->GetWrappedTrans(), id_string); 212 syncable::Id id_string = GetEntry()->GetFirstChildId(); local 213 if (id_string.IsRoot()) 215 return IdToMetahandle(GetTransaction()->GetWrappedTrans(), id_string);
|
/external/chromium_org/chrome/browser/automation/ |
automation_event_observers.cc | 75 std::string id_string = base::StringPrintf("%d", observer_id); local 82 id_string);
|
/external/chromium/chrome/browser/sync/syncable/ |
nigori_util.cc | 165 Id id_string = local 167 to_visit.push(id_string); 169 id_string = to_visit.front(); 171 if (id_string.IsRoot()) 174 Entry child(trans, GET_BY_ID, id_string);
|
/external/chromium_org/apps/ |
saved_files_service_unittest.cc | 66 std::string id_string = GenerateId(id); local 67 SCOPED_TRACE(id_string); 68 EXPECT_TRUE(service_->IsRegistered(extension_->id(), id_string)); 70 service_->GetFileEntry(extension_->id(), id_string); 72 EXPECT_EQ(id_string, entry->id);
|
/external/chromium/chrome/browser/sync/engine/ |
syncproto.h | 27 return syncable::Id::CreateFromServerId(Base::id_string());
|
/external/chromium/chrome/browser/bookmarks/ |
bookmark_codec.cc | 194 std::string id_string; local 197 if (!value.GetString(kIdKey, &id_string) || 198 !base::StringToInt64(id_string, &id) || 252 UpdateChecksumWithUrlNode(id_string, title, url_string); 280 UpdateChecksumWithFolderNode(id_string, title);
|
/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/autocomplete/ |
contact_provider_chromeos_unittest.cc | 250 std::string id_string = base::IntToString(static_cast<int>(i)); local 251 InitContact(id_string, id_string, kFamilyName, 252 id_string + " " + kFamilyName, contact);
|
/external/chromium_org/sync/engine/ |
commit_util.cc | 224 << " new_id:" << SyncableIdFromProto(entry_response.id_string()) 245 SyncableIdFromProto(entry_response.id_string()); 332 << " new_id:" << SyncableIdFromProto(entry_response.id_string()) 417 SyncableIdFromProto(server_entry.id_string());
|
process_updates_util.cc | 50 SyncableIdFromProto(update.id_string())); 150 syncable::Id id = SyncableIdFromProto(entry.id_string()); 228 const syncable::Id& server_id = SyncableIdFromProto(update.id_string());
|
sync_directory_commit_contribution_unittest.cc | 60 if (entity.id_string()[0] == '-') // Look for the - in 'c-1234' style IDs. 63 response->set_id_string(entity.id_string()); 154 entity.id_string()));
|
/external/chromium_org/components/policy/core/common/ |
schema.cc | 288 std::string id_string; local 289 if (schema.GetString(schema::kId, &id_string)) { 323 std::string id_string; local 324 if (schema.GetString(schema::kId, &id_string)) { 325 if (ContainsKey(*id_map, id_string)) { 326 *error = "Duplicated id: " + id_string; 329 (*id_map)[id_string] = *index;
|
/external/chromium_org/chrome/browser/extensions/api/bookmarks/ |
bookmarks_api.h | 115 bool GetBookmarkIdAsInt64(const std::string& id_string, int64* id); 120 const BookmarkNode* GetBookmarkNodeFromId(const std::string& id_string);
|
bookmarks_api.cc | 118 bool BookmarksFunction::GetBookmarkIdAsInt64(const std::string& id_string, 120 if (base::StringToInt64(id_string, id)) 128 const std::string& id_string) { 130 if (!GetBookmarkIdAsInt64(id_string, &id)) 462 std::string id_string; local 463 if (!args->GetString(0, &id_string)) 466 if (base::StringToInt64(id_string, &id)) [all...] |
/external/chromium_org/chrome/browser/bookmarks/ |
bookmark_codec.cc | 271 std::string id_string; local 274 if (!value.GetString(kIdKey, &id_string) || 275 !base::StringToInt64(id_string, &id) || 315 UpdateChecksumWithUrlNode(id_string, title, url_string); 343 UpdateChecksumWithFolderNode(id_string, title);
|
/external/chromium_org/chrome/browser/extensions/api/bookmark_manager_private/ |
bookmark_manager_private_api.cc | 67 BookmarkModel* model, const std::string& id_string) { 69 if (!base::StringToInt64(id_string, &id)) 101 std::string id_string = base::Int64ToString(node.id()); local 102 dict->SetString(bookmark_keys::kIdKey, id_string);
|