Home
last modified time | relevance | path

Searched refs:ChangeRecord (Results 1 – 25 of 33) sorted by relevance

12

/external/chromium/chrome/browser/sync/
Dprofile_sync_service_preference_unittest.cc156 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 …]
Dprofile_sync_service_session_unittest.cc326 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()
Djs_sync_manager_observer_unittest.cc218 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()
Dprofile_sync_service_bookmark_unittest.cc159 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/
Dautofill_change_processor.cc27 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 …]
Dtheme_change_processor.cc61 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()
Dautofill_profile_change_processor.h40 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,
Dextension_change_processor.cc97 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()
Dautofill_profile_change_processor.cc61 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()
Dautofill_change_processor.h54 const sync_api::SyncManager::ChangeRecord* changes,
91 sync_api::SyncManager::ChangeRecord::Action action,
96 sync_api::SyncManager::ChangeRecord::Action action,
Dpreference_change_processor.cc110 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()
Dpassword_change_processor.cc128 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()
Dsession_change_processor.cc154 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()
Dchange_processor_mock.h24 const sync_api::SyncManager::ChangeRecord* changes,
Dtheme_change_processor.h44 const sync_api::SyncManager::ChangeRecord* changes,
Dextension_change_processor.h46 const sync_api::SyncManager::ChangeRecord* changes,
Dpreference_change_processor.h42 const sync_api::SyncManager::ChangeRecord* changes,
Dchange_processor.h44 const sync_api::SyncManager::ChangeRecord* changes,
Dsession_change_processor.h54 const sync_api::SyncManager::ChangeRecord* changes,
Dtyped_url_change_processor.cc185 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()
Dpassword_change_processor.h48 const sync_api::SyncManager::ChangeRecord* changes,
/external/chromium/chrome/browser/sync/engine/
Dchange_reorder_buffer.cc124 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()
Dchange_reorder_buffer.h41 typedef SyncManager::ChangeRecord ChangeRecord; typedef
93 std::vector<ChangeRecord>* changelist);
Dsyncapi_unittest.cc458 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 …]
Dsyncapi.h635 struct ChangeRecord { struct
641 ChangeRecord(); argument
642 ~ChangeRecord();
754 const ChangeRecord* changes,

12