Searched refs:SyncEngineEvent (Results 1 – 14 of 14) sorted by relevance
46 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()
9 SyncEngineEvent::SyncEngineEvent(EventCause cause) : what_happened(cause), in SyncEngineEvent() function in browser_sync::SyncEngineEvent13 SyncEngineEvent::~SyncEngineEvent() {} in ~SyncEngineEvent()
74 struct SyncEngineEvent { struct103 explicit SyncEngineEvent(EventCause cause);104 ~SyncEngineEvent();119 virtual void OnSyncEngineEvent(const SyncEngineEvent& event) = 0; argument
65 SyncEngineEvent event(SyncEngineEvent::CLEAR_SERVER_DATA_FAILED); in ExecuteImpl()73 SyncEngineEvent event(SyncEngineEvent::CLEAR_SERVER_DATA_SUCCEEDED); in ExecuteImpl()
50 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()
20 SyncEngineEvent event(SyncEngineEvent::SYNC_CYCLE_ENDED); in ExecuteImpl()
32 SyncEngineEvent event(SyncEngineEvent::STATUS_CHANGED); in SendNotifications()
39 virtual void OnSyncEngineEvent(const SyncEngineEvent& event);52 sync_api::SyncManager::Status CalcSyncing(const SyncEngineEvent& event) const;
137 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()
162 SyncEngineEvent event(SyncEngineEvent::UPDATED_TOKEN); in PostAndProcessHeaders()
262 void Notify(SyncEngineEvent::EventCause cause);
81 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()
138 virtual void OnSyncEngineEvent(const SyncEngineEvent& event) { in OnSyncEngineEvent()142 case SyncEngineEvent::STATUS_CHANGED: in OnSyncEngineEvent()144 case SyncEngineEvent::SYNC_CYCLE_ENDED: in OnSyncEngineEvent()
95 void NotifyListeners(const SyncEngineEvent& event) { in NotifyListeners()