/external/chromium/chrome/browser/sync/ |
D | profile_sync_service_preference_unittest.cc | 156 SyncManager::ChangeRecord* MakeChangeRecord(const std::string& name, in MakeChangeRecord() argument 157 SyncManager::ChangeRecord) { in MakeChangeRecord() 159 SyncManager::ChangeRecord* record = new SyncManager::ChangeRecord(); in MakeChangeRecord() 160 record->action = SyncManager::ChangeRecord::ACTION_UPDATE; in MakeChangeRecord() 370 scoped_ptr<SyncManager::ChangeRecord> record(new SyncManager::ChangeRecord); in TEST_F() 371 record->action = SyncManager::ChangeRecord::ACTION_UPDATE; in TEST_F() 390 scoped_ptr<SyncManager::ChangeRecord> record(new SyncManager::ChangeRecord); in TEST_F() 391 record->action = SyncManager::ChangeRecord::ACTION_ADD; in TEST_F() 412 scoped_ptr<SyncManager::ChangeRecord> record(new SyncManager::ChangeRecord); in TEST_F() 413 record->action = SyncManager::ChangeRecord::ACTION_ADD; in TEST_F() [all …]
|
D | profile_sync_service_session_unittest.cc | 326 scoped_ptr<SyncManager::ChangeRecord> record(new SyncManager::ChangeRecord); in TEST_F() 327 record->action = SyncManager::ChangeRecord::ACTION_UPDATE; in TEST_F() 345 scoped_ptr<SyncManager::ChangeRecord> record(new SyncManager::ChangeRecord); in TEST_F() 346 record->action = SyncManager::ChangeRecord::ACTION_ADD; in TEST_F() 364 scoped_ptr<SyncManager::ChangeRecord> record(new SyncManager::ChangeRecord); in TEST_F() 365 record->action = SyncManager::ChangeRecord::ACTION_DELETE; in TEST_F()
|
D | js_sync_manager_observer_unittest.cc | 218 sync_api::SyncManager::ChangeRecord changes[syncable::MODEL_TYPE_COUNT]; in TEST_F() 226 sync_api::SyncManager::ChangeRecord::ACTION_ADD; in TEST_F() 230 sync_api::SyncManager::ChangeRecord::ACTION_UPDATE; in TEST_F() 234 sync_api::SyncManager::ChangeRecord::ACTION_DELETE; in TEST_F()
|
D | profile_sync_service_bookmark_unittest.cc | 159 sync_api::SyncManager::ChangeRecord record; in Add() 160 record.action = sync_api::SyncManager::ChangeRecord::ACTION_ADD; in Add() 196 sync_api::SyncManager::ChangeRecord record; in Delete() 197 record.action = sync_api::SyncManager::ChangeRecord::ACTION_DELETE; in Delete() 244 const std::vector<sync_api::SyncManager::ChangeRecord>& changes() { in changes() 255 sync_api::SyncManager::ChangeRecord::ACTION_UPDATE) in SetModified() 257 sync_api::SyncManager::ChangeRecord record; in SetModified() 258 record.action = sync_api::SyncManager::ChangeRecord::ACTION_UPDATE; in SetModified() 267 std::vector<sync_api::SyncManager::ChangeRecord> changes_; 595 std::vector<sync_api::SyncManager::ChangeRecord>::const_iterator it; in TEST_F() [all …]
|
/external/chromium/chrome/browser/sync/glue/ |
D | autofill_change_processor.cc | 27 sync_api::SyncManager::ChangeRecord::Action action_; 30 AutofillChangeRecord(sync_api::SyncManager::ChangeRecord::Action action, in AutofillChangeRecord() 194 const sync_api::SyncManager::ChangeRecord* changes, in ApplyChangesFromSyncModel() 211 sync_api::SyncManager::ChangeRecord::Action action(changes[i].action); in ApplyChangesFromSyncModel() 212 if (sync_api::SyncManager::ChangeRecord::ACTION_DELETE == action) { in ApplyChangesFromSyncModel() 264 if (sync_api::SyncManager::ChangeRecord::ACTION_DELETE == in CommitChangesFromSyncModel() 315 sync_api::SyncManager::ChangeRecord::Action action, in ApplySyncAutofillEntryChange() 319 DCHECK_NE(sync_api::SyncManager::ChangeRecord::ACTION_DELETE, action); in ApplySyncAutofillEntryChange() 332 if (action == sync_api::SyncManager::ChangeRecord::ACTION_ADD) in ApplySyncAutofillEntryChange() 337 sync_api::SyncManager::ChangeRecord::Action action, in ApplySyncAutofillProfileChange() [all …]
|
D | theme_change_processor.cc | 61 const sync_api::SyncManager::ChangeRecord* changes, in ApplyChangesFromSyncModel() 81 const sync_api::SyncManager::ChangeRecord& change = in ApplyChangesFromSyncModel() 83 if (change.action != sync_api::SyncManager::ChangeRecord::ACTION_UPDATE && in ApplyChangesFromSyncModel() 84 change.action != sync_api::SyncManager::ChangeRecord::ACTION_DELETE) { in ApplyChangesFromSyncModel() 92 if (change.action != sync_api::SyncManager::ChangeRecord::ACTION_DELETE) { in ApplyChangesFromSyncModel()
|
D | autofill_profile_change_processor.h | 40 const sync_api::SyncManager::ChangeRecord* changes, 60 sync_api::SyncManager::ChangeRecord::Action action_; 64 sync_api::SyncManager::ChangeRecord::Action action, in AutofillProfileChangeRecord() 103 sync_api::SyncManager::ChangeRecord::Action action,
|
D | extension_change_processor.cc | 97 const sync_api::SyncManager::ChangeRecord* changes, in ApplyChangesFromSyncModel() 104 const sync_api::SyncManager::ChangeRecord& change = changes[i]; in ApplyChangesFromSyncModel() 107 case sync_api::SyncManager::ChangeRecord::ACTION_ADD: in ApplyChangesFromSyncModel() 108 case sync_api::SyncManager::ChangeRecord::ACTION_UPDATE: { in ApplyChangesFromSyncModel() 121 case sync_api::SyncManager::ChangeRecord::ACTION_DELETE: { in ApplyChangesFromSyncModel() 143 (change.action == sync_api::SyncManager::ChangeRecord::ACTION_DELETE); in ApplyChangesFromSyncModel()
|
D | autofill_profile_change_processor.cc | 61 const sync_api::SyncManager::ChangeRecord* changes, in ApplyChangesFromSyncModel() 74 if (sync_api::SyncManager::ChangeRecord::ACTION_DELETE == in ApplyChangesFromSyncModel() 180 if (sync_api::SyncManager::ChangeRecord::ACTION_DELETE == in CommitChangesFromSyncModel() 209 sync_api::SyncManager::ChangeRecord::Action action, in ApplyAutofillProfileChange() 213 DCHECK_NE(sync_api::SyncManager::ChangeRecord::ACTION_DELETE, action); in ApplyAutofillProfileChange() 215 case sync_api::SyncManager::ChangeRecord::ACTION_ADD: { in ApplyAutofillProfileChange() 234 case sync_api::SyncManager::ChangeRecord::ACTION_UPDATE: { in ApplyAutofillProfileChange()
|
D | autofill_change_processor.h | 54 const sync_api::SyncManager::ChangeRecord* changes, 91 sync_api::SyncManager::ChangeRecord::Action action, 96 sync_api::SyncManager::ChangeRecord::Action action,
|
D | preference_change_processor.cc | 110 const sync_api::SyncManager::ChangeRecord* changes, in ApplyChangesFromSyncModel() 123 if (sync_api::SyncManager::ChangeRecord::ACTION_DELETE == in ApplyChangesFromSyncModel() 159 if (sync_api::SyncManager::ChangeRecord::ACTION_DELETE == in ApplyChangesFromSyncModel() 166 if (sync_api::SyncManager::ChangeRecord::ACTION_ADD == in ApplyChangesFromSyncModel()
|
D | password_change_processor.cc | 128 const sync_api::SyncManager::ChangeRecord* changes, in ApplyChangesFromSyncModel() 145 if (sync_api::SyncManager::ChangeRecord::ACTION_DELETE == in ApplyChangesFromSyncModel() 176 if (sync_api::SyncManager::ChangeRecord::ACTION_ADD == changes[i].action) { in ApplyChangesFromSyncModel() 181 DCHECK(sync_api::SyncManager::ChangeRecord::ACTION_UPDATE == in ApplyChangesFromSyncModel()
|
D | session_change_processor.cc | 154 const sync_api::SyncManager::ChangeRecord* changes, in ApplyChangesFromSyncModel() 171 const sync_api::SyncManager::ChangeRecord& change = changes[i]; in ApplyChangesFromSyncModel() 172 sync_api::SyncManager::ChangeRecord::Action action(change.action); in ApplyChangesFromSyncModel() 173 if (sync_api::SyncManager::ChangeRecord::ACTION_DELETE == action) { in ApplyChangesFromSyncModel()
|
D | change_processor_mock.h | 24 const sync_api::SyncManager::ChangeRecord* changes,
|
D | theme_change_processor.h | 44 const sync_api::SyncManager::ChangeRecord* changes,
|
D | extension_change_processor.h | 46 const sync_api::SyncManager::ChangeRecord* changes,
|
D | preference_change_processor.h | 42 const sync_api::SyncManager::ChangeRecord* changes,
|
D | change_processor.h | 44 const sync_api::SyncManager::ChangeRecord* changes,
|
D | session_change_processor.h | 54 const sync_api::SyncManager::ChangeRecord* changes,
|
D | typed_url_change_processor.cc | 185 const sync_api::SyncManager::ChangeRecord* changes, in ApplyChangesFromSyncModel() 206 if (sync_api::SyncManager::ChangeRecord::ACTION_DELETE == in ApplyChangesFromSyncModel() 230 if (sync_api::SyncManager::ChangeRecord::ACTION_ADD == changes[i].action) { in ApplyChangesFromSyncModel()
|
D | password_change_processor.h | 48 const sync_api::SyncManager::ChangeRecord* changes,
|
/external/chromium/chrome/browser/sync/engine/ |
D | change_reorder_buffer.cc | 124 vector<ChangeRecord>* changelist) { in GetAllChangesInTreeOrder() 137 ChangeRecord record; in GetAllChangesInTreeOrder() 139 record.action = ChangeRecord::ACTION_DELETE; in GetAllChangesInTreeOrder() 170 ChangeRecord record; in GetAllChangesInTreeOrder() 173 record.action = ChangeRecord::ACTION_ADD; in GetAllChangesInTreeOrder() 175 record.action = ChangeRecord::ACTION_UPDATE; in GetAllChangesInTreeOrder()
|
D | change_reorder_buffer.h | 41 typedef SyncManager::ChangeRecord ChangeRecord; typedef 93 std::vector<ChangeRecord>* changelist);
|
D | syncapi_unittest.cc | 458 void ExpectChangeRecordActionValue(SyncManager::ChangeRecord::Action in ExpectChangeRecordActionValue() 465 case SyncManager::ChangeRecord::ACTION_ADD: in ExpectChangeRecordActionValue() 468 case SyncManager::ChangeRecord::ACTION_UPDATE: in ExpectChangeRecordActionValue() 471 case SyncManager::ChangeRecord::ACTION_DELETE: in ExpectChangeRecordActionValue() 480 void CheckNonDeleteChangeRecordValue(const SyncManager::ChangeRecord& record, in CheckNonDeleteChangeRecordValue() 483 EXPECT_NE(SyncManager::ChangeRecord::ACTION_DELETE, record.action); in CheckNonDeleteChangeRecordValue() 493 void CheckDeleteChangeRecordValue(const SyncManager::ChangeRecord& record, in CheckDeleteChangeRecordValue() 495 EXPECT_EQ(SyncManager::ChangeRecord::ACTION_DELETE, record.action); in CheckDeleteChangeRecordValue() 538 SyncManager::ChangeRecord record; in TEST_F() 539 record.action = SyncManager::ChangeRecord::ACTION_ADD; in TEST_F() [all …]
|
D | syncapi.h | 635 struct ChangeRecord { struct 641 ChangeRecord(); argument 642 ~ChangeRecord(); 754 const ChangeRecord* changes,
|