/external/chromium/chrome/browser/sync/syncable/ |
syncable_enum_conversions.cc | 28 INT64_FIELDS_BEGIN, BASE_VERSION - 1); 36 const char* GetBaseVersionString(BaseVersion base_version) { 37 ASSERT_ENUM_BOUNDS(BASE_VERSION, BASE_VERSION, 39 switch (base_version) { 40 ENUM_CASE(BASE_VERSION); 48 BASE_VERSION + 1, INT64_FIELDS_END - 1);
|
syncable_enum_conversions_unittest.cc | 36 GetBaseVersionString, META_HANDLE + 1, BASE_VERSION); 41 GetInt64FieldString, BASE_VERSION + 1, INT64_FIELDS_END - 1);
|
syncable_unittest.cc | 128 me.Put(BASE_VERSION, 1); 200 me.Put(BASE_VERSION, 1); 216 EXPECT_EQ(me.Get(BASE_VERSION), 1); 236 me.Put(BASE_VERSION, 1); 281 me.Put(BASE_VERSION, 1); 408 int64 base_version, 731 e1.Put(BASE_VERSION, 1); 738 e2.Put(BASE_VERSION, 1); 803 e1.Put(BASE_VERSION, 1); 811 e2.Put(BASE_VERSION, 1) [all...] |
syncable.h | 69 BASE_VERSION = META_HANDLE + 1, 73 SERVER_VERSION = BASE_VERSION + 1, [all...] |
syncable.cc | 226 META_HANDLE + 1, BASE_VERSION); 229 BASE_VERSION + 1, INT64_FIELDS_END - 1); 1040 int64 base_version = e.Get(BASE_VERSION); local [all...] |
/external/chromium/chrome/browser/sync/engine/ |
process_updates_command.cc | 130 // When IDs change, versions become irrelevant. Forcing BASE_VERSION 133 // forcing BASE_VERSION to entry.version() while also forcing 137 if (target_entry.Get(IS_UNSYNCED) || target_entry.Get(BASE_VERSION) > 0) { 139 // fields for this entry. When BASE_VERSION is positive, consistency is 141 // we leave the BASE_VERSION field alone; it'll get updated the first time 143 target_entry.Put(BASE_VERSION, update.version()); 151 if (target_entry.Get(SERVER_VERSION) == target_entry.Get(BASE_VERSION) &&
|
build_commit_command.cc | 147 0 != meta_entry.Get(syncable::BASE_VERSION) && 148 syncable::CHANGES_VERSION != meta_entry.Get(syncable::BASE_VERSION)) { 152 int64 version = meta_entry.Get(syncable::BASE_VERSION); 163 sync_entry->set_version(meta_entry.Get(syncable::BASE_VERSION));
|
process_commit_response_command_unittest.cc | 24 using syncable::BASE_VERSION; 77 ASSERT_LT(0, e->Get(BASE_VERSION)) 98 entry.Put(syncable::BASE_VERSION, 154 entity->set_version(entry.Get(syncable::BASE_VERSION)); 245 ASSERT_LT(0, b_folder.Get(BASE_VERSION)) 334 ASSERT_LT(0, parent.Get(BASE_VERSION)) 351 ASSERT_LT(0, c.Get(BASE_VERSION)); 358 ASSERT_GE(0, c.Get(BASE_VERSION)); 361 ASSERT_LT(0, c.Get(BASE_VERSION));
|
syncer_util.cc | 25 using syncable::BASE_VERSION; 188 DCHECK(0 == local_entry.Get(BASE_VERSION) || 189 CHANGES_VERSION == local_entry.Get(BASE_VERSION)); 221 int64 old_version = local_entry.Get(BASE_VERSION); 403 target->Get(BASE_VERSION)) + 1); 447 if (update.version() > target->Get(BASE_VERSION)) { 533 entry->Put(BASE_VERSION, 0); 573 entry->Put(BASE_VERSION, entry->Get(SERVER_VERSION)); 742 target->Get(BASE_VERSION) > 0))) { 753 if (target->Get(BASE_VERSION) > 0) [all...] |
syncer_unittest.cc | 62 using syncable::BASE_VERSION; 296 entry.Put(BASE_VERSION, 5); 396 entry.Put(syncable::BASE_VERSION, id.ServerKnows() ? 1 : 0); 596 parent.Put(syncable::BASE_VERSION, 1); 601 child.Put(syncable::BASE_VERSION, 1); 632 parent.Put(syncable::BASE_VERSION, 1); 637 child.Put(syncable::BASE_VERSION, 1); 645 parent2.Put(syncable::BASE_VERSION, 1); 685 parent.Put(syncable::BASE_VERSION, 1); 846 parent.Put(syncable::BASE_VERSION, 1) [all...] |
conflict_resolver.cc | 58 entry->Put(syncable::BASE_VERSION, entry->Get(syncable::SERVER_VERSION)); 144 entry.Put(syncable::BASE_VERSION, 0); 206 entryi.Put(syncable::BASE_VERSION, entryi.Get(syncable::SERVER_VERSION)); 251 parent.Put(syncable::BASE_VERSION, 0);
|
process_commit_response_command.cc | 28 using syncable::BASE_VERSION; 298 int64 old_version = local_entry->Get(BASE_VERSION); 323 local_entry->Put(BASE_VERSION, new_version); 452 // Update SERVER_VERSION and BASE_VERSION.
|
verify_updates_command_unittest.cc | 51 entry.Put(syncable::BASE_VERSION, 1);
|
syncer_proto_util.cc | 22 using syncable::BASE_VERSION; 264 CHECK(server_entry.version() == local_entry.Get(BASE_VERSION)) <<
|
build_and_process_conflict_sets_command.cc | 127 entry.Put(syncable::BASE_VERSION, backup->ref(syncable::BASE_VERSION));
|
apply_updates_command_unittest.cc | 110 entry.Put(syncable::BASE_VERSION,
|
syncapi_unittest.cc | 152 entry.Put(syncable::BASE_VERSION, 1); [all...] |
/external/chromium/chrome/browser/sync/ |
abstract_profile_sync_service_test.cc | 24 using syncable::BASE_VERSION; 88 node.Put(BASE_VERSION, 20);
|
profile_sync_service_typed_url_unittest.cc | 52 using syncable::BASE_VERSION;
|
profile_sync_service_autofill_unittest.cc | 67 using syncable::BASE_VERSION; 573 item.Put(BASE_VERSION, 1); [all...] |
profile_sync_service_password_unittest.cc | 48 using syncable::BASE_VERSION;
|