Searched refs:SERVER_VERSION (Results 1 – 16 of 16) sorted by relevance
/external/chromium/chrome/browser/sync/syncable/ |
D | syncable_enum_conversions.cc | 38 META_HANDLE + 1, SERVER_VERSION - 1); in GetBaseVersionString() 47 ASSERT_ENUM_BOUNDS(SERVER_VERSION, LOCAL_EXTERNAL_ID, in GetInt64FieldString() 50 ENUM_CASE(SERVER_VERSION); in GetInt64FieldString()
|
D | syncable.h | 73 SERVER_VERSION = BASE_VERSION + 1, enumerator
|
D | syncable.cc | 1041 int64 server_version = e.Get(SERVER_VERSION); in CheckTreeInvariants() 1318 DCHECK_EQ(Get(SERVER_VERSION), 0); in GetServerModelType()
|
D | syncable_unittest.cc | 1382 ASSERT_TRUE(server_version == e.Get(SERVER_VERSION)); in ValidateEntry()
|
/external/chromium/chrome/browser/sync/engine/ |
D | syncer_util.cc | 57 using syncable::SERVER_VERSION; 398 target->Put(SERVER_VERSION, 0); in UpdateServerFieldsFromUpdate() 401 target->Put(SERVER_VERSION, in UpdateServerFieldsFromUpdate() 402 std::max(target->Get(SERVER_VERSION), in UpdateServerFieldsFromUpdate() 413 target->Put(SERVER_VERSION, update.version()); in UpdateServerFieldsFromUpdate() 573 entry->Put(BASE_VERSION, entry->Get(SERVER_VERSION)); in UpdateLocalDataFromServerData() 724 if (target->Get(SERVER_VERSION) > 0) { in VerifyUpdateConsistency() 775 if (target->Get(SERVER_VERSION) > update.version()) { in VerifyUpdateConsistency() 812 target->Put(SERVER_VERSION, 0); in VerifyUndelete() 815 if (update.version() < target->Get(SERVER_VERSION)) { in VerifyUndelete()
|
D | syncer.cc | 44 using syncable::SERVER_VERSION; 317 dest->Put(SERVER_VERSION, src->Get(SERVER_VERSION)); in CopyServerFields() 330 entry->Put(SERVER_VERSION, 0); in ClearServerData()
|
D | conflict_resolver.cc | 58 entry->Put(syncable::BASE_VERSION, entry->Get(syncable::SERVER_VERSION)); in OverwriteServerChanges() 138 DCHECK_EQ(entry.Get(syncable::SERVER_VERSION), 0) << "For the server to " in ProcessSimpleConflict() 143 entry.Put(syncable::SERVER_VERSION, 0); in ProcessSimpleConflict() 206 entryi.Put(syncable::BASE_VERSION, entryi.Get(syncable::SERVER_VERSION)); in AttemptToFixCircularConflict()
|
D | process_updates_command.cc | 151 if (target_entry.Get(SERVER_VERSION) == target_entry.Get(BASE_VERSION) && in ProcessUpdate()
|
D | verify_updates_command_unittest.cc | 52 entry.Put(syncable::SERVER_VERSION, 1); in CreateLocalItem()
|
D | process_commit_response_command.cc | 39 using syncable::SERVER_VERSION; 326 local_entry->Put(SERVER_VERSION, new_version); in UpdateVersionAfterCommit()
|
D | apply_updates_command_unittest.cc | 62 entry.Put(syncable::SERVER_VERSION, next_revision_++); in CreateUnappliedNewItemWithParent() 83 entry.Put(syncable::SERVER_VERSION, next_revision_++); in CreateUnappliedNewItem()
|
D | syncer_unittest.cc | 85 using syncable::SERVER_VERSION; 297 entry.Put(SERVER_VERSION, 5); in RunCommitOrderingTest() 1211 EXPECT_TRUE(entry.Get(SERVER_VERSION) == version); in TEST_F() 1308 EXPECT_TRUE(10 == still_a_dir.Get(SERVER_VERSION)); in TEST_F() 1674 A.Put(SERVER_VERSION, 20); in TEST_F() 1679 B.Put(SERVER_VERSION, 20); in TEST_F() 1692 EXPECT_TRUE(A.Get(SERVER_VERSION) == 20); in TEST_F() 1698 EXPECT_TRUE(B.Get(SERVER_VERSION) == 20); in TEST_F() 1716 A.Put(SERVER_VERSION, 20); in TEST_F() 1721 B.Put(SERVER_VERSION, 20); in TEST_F() [all …]
|
D | syncapi_unittest.cc | 153 entry.Put(syncable::SERVER_VERSION, 1); in MakeServerNodeForType()
|
/external/chromium/chrome/browser/sync/ |
D | abstract_profile_sync_service_test.cc | 34 using syncable::SERVER_VERSION; 87 node.Put(SERVER_VERSION, 20); in CreateRoot()
|
D | profile_sync_service_typed_url_unittest.cc | 61 using syncable::SERVER_VERSION;
|
D | profile_sync_service_password_unittest.cc | 57 using syncable::SERVER_VERSION;
|