Home
last modified time | relevance | path

Searched refs:SyncManager (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium/chrome/browser/sync/engine/
Dall_status.cc18 static const sync_api::SyncManager::Status init_status =
19 { sync_api::SyncManager::Status::OFFLINE };
29 sync_api::SyncManager::Status AllStatus::CreateBlankStatus() const { in CreateBlankStatus()
33 sync_api::SyncManager::Status status = status_; in CreateBlankStatus()
45 sync_api::SyncManager::Status AllStatus::CalcSyncing( in CalcSyncing()
47 sync_api::SyncManager::Status status = CreateBlankStatus(); in CalcSyncing()
88 status_.summary = sync_api::SyncManager::Status::CONFLICT; in CalcStatusChanges()
90 status_.summary = sync_api::SyncManager::Status::SYNCING; in CalcStatusChanges()
92 status_.summary = sync_api::SyncManager::Status::READY; in CalcStatusChanges()
94 status_.summary = sync_api::SyncManager::Status::OFFLINE_UNUSABLE; in CalcStatusChanges()
[all …]
Dsyncapi.cc111 DISABLE_RUNNABLE_METHOD_REFCOUNT(sync_api::SyncManager::SyncInternal);
1051 SyncManager::ChangeRecord::ChangeRecord() in ChangeRecord()
1054 SyncManager::ChangeRecord::~ChangeRecord() {} in ~ChangeRecord()
1056 DictionaryValue* SyncManager::ChangeRecord::ToValue( in ToValue()
1115 SyncManager::ExtraPasswordChangeRecordData::ExtraPasswordChangeRecordData() {} in ExtraPasswordChangeRecordData()
1117 SyncManager::ExtraPasswordChangeRecordData::ExtraPasswordChangeRecordData( in ExtraPasswordChangeRecordData()
1122 SyncManager::ExtraPasswordChangeRecordData::~ExtraPasswordChangeRecordData() {} in ~ExtraPasswordChangeRecordData()
1124 DictionaryValue* SyncManager::ExtraPasswordChangeRecordData::ToValue() const { in ToValue()
1129 SyncManager::ExtraPasswordChangeRecordData::unencrypted() const { in unencrypted()
1173 class SyncManager::SyncInternal
[all …]
Dall_status.h41 sync_api::SyncManager::Status status() const;
52 sync_api::SyncManager::Status CalcSyncing(const SyncEngineEvent& event) const;
53 sync_api::SyncManager::Status CreateBlankStatus() const;
58 sync_api::SyncManager::Status status_;
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()
517 : public SyncManager::ExtraPasswordChangeRecordData {
538 SyncManager::ChangeRecord record; in TEST_F()
[all …]
Dchange_reorder_buffer.h41 typedef SyncManager::ChangeRecord ChangeRecord;
42 typedef SyncManager::ExtraPasswordChangeRecordData ExtraChangeRecordData;
Dsyncapi.h107 class SyncManager; variable
608 class SyncManager {
833 SyncManager();
834 virtual ~SyncManager();
1014 DISALLOW_COPY_AND_ASSIGN(SyncManager);
/external/chromium/chrome/browser/sync/
Dprofile_sync_service_preference_unittest.cc36 using sync_api::SyncManager;
156 SyncManager::ChangeRecord* MakeChangeRecord(const std::string& name, in MakeChangeRecord()
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()
[all …]
Dprofile_sync_service_session_unittest.cc45 using sync_api::SyncManager;
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()
Djs_sync_manager_observer.h19 class JsSyncManagerObserver : public sync_api::SyncManager::Observer {
30 const sync_api::SyncManager::ChangeRecord* changes,
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()
Dpassword_change_processor.cc128 const sync_api::SyncManager::ChangeRecord* changes, in ApplyChangesFromSyncModel()
145 if (sync_api::SyncManager::ChangeRecord::ACTION_DELETE == in ApplyChangesFromSyncModel()
150 sync_api::SyncManager::ExtraPasswordChangeRecordData* extra = 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()
Dautofill_change_processor.h54 const sync_api::SyncManager::ChangeRecord* changes,
91 sync_api::SyncManager::ChangeRecord::Action action,
96 sync_api::SyncManager::ChangeRecord::Action action,
Dsync_backend_host.h116 typedef sync_api::SyncManager::Status::Summary StatusSummary;
117 typedef sync_api::SyncManager::Status Status;
261 public sync_api::SyncManager::Observer,
273 const sync_api::SyncManager::ChangeRecord* changes,
389 sync_api::SyncManager* syncapi() { return syncapi_.get(); } in syncapi()
504 scoped_ptr<sync_api::SyncManager> syncapi_;
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()
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,

12