Home
last modified time | relevance | path

Searched refs:SERVER_VERSION (Results 1 – 16 of 16) sorted by relevance

/external/chromium/chrome/browser/sync/syncable/
Dsyncable_enum_conversions.cc38 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()
Dsyncable.h73 SERVER_VERSION = BASE_VERSION + 1, enumerator
Dsyncable.cc1041 int64 server_version = e.Get(SERVER_VERSION); in CheckTreeInvariants()
1318 DCHECK_EQ(Get(SERVER_VERSION), 0); in GetServerModelType()
Dsyncable_unittest.cc1382 ASSERT_TRUE(server_version == e.Get(SERVER_VERSION)); in ValidateEntry()
/external/chromium/chrome/browser/sync/engine/
Dsyncer_util.cc57 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()
Dsyncer.cc44 using syncable::SERVER_VERSION;
317 dest->Put(SERVER_VERSION, src->Get(SERVER_VERSION)); in CopyServerFields()
330 entry->Put(SERVER_VERSION, 0); in ClearServerData()
Dconflict_resolver.cc58 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()
Dprocess_updates_command.cc151 if (target_entry.Get(SERVER_VERSION) == target_entry.Get(BASE_VERSION) && in ProcessUpdate()
Dverify_updates_command_unittest.cc52 entry.Put(syncable::SERVER_VERSION, 1); in CreateLocalItem()
Dprocess_commit_response_command.cc39 using syncable::SERVER_VERSION;
326 local_entry->Put(SERVER_VERSION, new_version); in UpdateVersionAfterCommit()
Dapply_updates_command_unittest.cc62 entry.Put(syncable::SERVER_VERSION, next_revision_++); in CreateUnappliedNewItemWithParent()
83 entry.Put(syncable::SERVER_VERSION, next_revision_++); in CreateUnappliedNewItem()
Dsyncer_unittest.cc85 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 …]
Dsyncapi_unittest.cc153 entry.Put(syncable::SERVER_VERSION, 1); in MakeServerNodeForType()
/external/chromium/chrome/browser/sync/
Dabstract_profile_sync_service_test.cc34 using syncable::SERVER_VERSION;
87 node.Put(SERVER_VERSION, 20); in CreateRoot()
Dprofile_sync_service_typed_url_unittest.cc61 using syncable::SERVER_VERSION;
Dprofile_sync_service_password_unittest.cc57 using syncable::SERVER_VERSION;