Home
last modified time | relevance | path

Searched refs:SyncEngineEvent (Results 1 – 14 of 14) sorted by relevance

/external/chromium/chrome/browser/sync/engine/
Dall_status.cc46 const SyncEngineEvent &event) const { in CalcSyncing()
73 if (event.what_happened == SyncEngineEvent::SYNC_CYCLE_ENDED) { in CalcSyncing()
102 void AllStatus::OnSyncEngineEvent(const SyncEngineEvent& event) { in OnSyncEngineEvent()
105 case SyncEngineEvent::SYNC_CYCLE_ENDED: in OnSyncEngineEvent()
106 case SyncEngineEvent::STATUS_CHANGED: in OnSyncEngineEvent()
109 case SyncEngineEvent::STOP_SYNCING_PERMANENTLY: in OnSyncEngineEvent()
110 case SyncEngineEvent::UPDATED_TOKEN: in OnSyncEngineEvent()
111 case SyncEngineEvent::CLEAR_SERVER_DATA_FAILED: in OnSyncEngineEvent()
112 case SyncEngineEvent::CLEAR_SERVER_DATA_SUCCEEDED: in OnSyncEngineEvent()
Dsyncer_types.cc9 SyncEngineEvent::SyncEngineEvent(EventCause cause) : what_happened(cause), in SyncEngineEvent() function in browser_sync::SyncEngineEvent
13 SyncEngineEvent::~SyncEngineEvent() {} in ~SyncEngineEvent()
Dsyncer_types.h74 struct SyncEngineEvent { struct
103 explicit SyncEngineEvent(EventCause cause);
104 ~SyncEngineEvent();
119 virtual void OnSyncEngineEvent(const SyncEngineEvent& event) = 0; argument
Dclear_data_command.cc65 SyncEngineEvent event(SyncEngineEvent::CLEAR_SERVER_DATA_FAILED); in ExecuteImpl()
73 SyncEngineEvent event(SyncEngineEvent::CLEAR_SERVER_DATA_SUCCEEDED); in ExecuteImpl()
Dclear_data_command_unittest.cc50 virtual void OnSyncEngineEvent(const SyncEngineEvent& event) { in OnSyncEngineEvent()
51 if (event.what_happened == SyncEngineEvent::CLEAR_SERVER_DATA_FAILED) { in OnSyncEngineEvent()
54 SyncEngineEvent::CLEAR_SERVER_DATA_SUCCEEDED) { in OnSyncEngineEvent()
Dsyncer_end_command.cc20 SyncEngineEvent event(SyncEngineEvent::SYNC_CYCLE_ENDED); in ExecuteImpl()
Dsyncer_command.cc32 SyncEngineEvent event(SyncEngineEvent::STATUS_CHANGED); in SendNotifications()
Dall_status.h39 virtual void OnSyncEngineEvent(const SyncEngineEvent& event);
52 sync_api::SyncManager::Status CalcSyncing(const SyncEngineEvent& event) const;
Dsyncer_thread.cc137 SyncEngineEvent event(SyncEngineEvent::STATUS_CHANGED); in SendInitialSnapshot()
825 void SyncerThread::Notify(SyncEngineEvent::EventCause cause) { in Notify()
827 session_context_->NotifyListeners(SyncEngineEvent(cause)); in Notify()
863 Notify(SyncEngineEvent::STOP_SYNCING_PERMANENTLY); in OnShouldStopSyncingPermanently()
Dsyncer_proto_util.cc162 SyncEngineEvent event(SyncEngineEvent::UPDATED_TOKEN); in PostAndProcessHeaders()
Dsyncer_thread.h262 void Notify(SyncEngineEvent::EventCause cause);
Dsyncapi.cc81 using browser_sync::SyncEngineEvent;
1384 virtual void OnSyncEngineEvent(const SyncEngineEvent& event);
2467 const SyncEngineEvent& event) { in OnSyncEngineEvent()
2478 if (event.what_happened == SyncEngineEvent::SYNC_CYCLE_ENDED) { in OnSyncEngineEvent()
2544 if (event.what_happened == SyncEngineEvent::STOP_SYNCING_PERMANENTLY) { in OnSyncEngineEvent()
2550 if (event.what_happened == SyncEngineEvent::CLEAR_SERVER_DATA_SUCCEEDED) { in OnSyncEngineEvent()
2556 if (event.what_happened == SyncEngineEvent::CLEAR_SERVER_DATA_FAILED) { in OnSyncEngineEvent()
2562 if (event.what_happened == SyncEngineEvent::UPDATED_TOKEN) { in OnSyncEngineEvent()
Dsyncer_unittest.cc138 virtual void OnSyncEngineEvent(const SyncEngineEvent& event) { in OnSyncEngineEvent()
142 case SyncEngineEvent::STATUS_CHANGED: in OnSyncEngineEvent()
144 case SyncEngineEvent::SYNC_CYCLE_ENDED: in OnSyncEngineEvent()
/external/chromium/chrome/browser/sync/sessions/
Dsync_session_context.h95 void NotifyListeners(const SyncEngineEvent& event) { in NotifyListeners()