Home
last modified time | relevance | path

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

12

/external/chromium_org/sync/engine/
Dall_status.cc38 SyncStatus AllStatus::CalcSyncing(const SyncEngineEvent &event) const { in CalcSyncing()
47 if (event.what_happened == SyncEngineEvent::SYNC_CYCLE_BEGIN) { in CalcSyncing()
49 } else if (event.what_happened == SyncEngineEvent::SYNC_CYCLE_ENDED) { in CalcSyncing()
62 if (event.what_happened == SyncEngineEvent::SYNC_CYCLE_ENDED) { in CalcSyncing()
95 void AllStatus::OnSyncEngineEvent(const SyncEngineEvent& event) { in OnSyncEngineEvent()
98 case SyncEngineEvent::SYNC_CYCLE_BEGIN: in OnSyncEngineEvent()
99 case SyncEngineEvent::STATUS_CHANGED: in OnSyncEngineEvent()
100 case SyncEngineEvent::SYNC_CYCLE_ENDED: in OnSyncEngineEvent()
103 case SyncEngineEvent::STOP_SYNCING_PERMANENTLY: in OnSyncEngineEvent()
105 case SyncEngineEvent::ACTIONABLE_ERROR: in OnSyncEngineEvent()
[all …]
Dsync_engine_event.cc9 SyncEngineEvent::SyncEngineEvent(EventCause cause) : what_happened(cause) { in SyncEngineEvent() function in syncer::SyncEngineEvent
12 SyncEngineEvent::~SyncEngineEvent() {} in ~SyncEngineEvent()
Dsync_engine_event.h20 struct SYNC_EXPORT_PRIVATE SyncEngineEvent { struct
54 explicit SyncEngineEvent(EventCause cause);
55 ~SyncEngineEvent();
76 virtual void OnSyncEngineEvent(const SyncEngineEvent& event) = 0; argument
Dsync_scheduler_impl.cc253 SyncEngineEvent event(SyncEngineEvent::STATUS_CHANGED); in SendInitialSnapshot()
790 void SyncSchedulerImpl::Notify(SyncEngineEvent::EventCause cause) { in Notify()
792 session_context_->NotifyListeners(SyncEngineEvent(cause)); in Notify()
796 SyncEngineEvent event(SyncEngineEvent::RETRY_TIME_CHANGED); in NotifyRetryTime()
802 SyncEngineEvent event(SyncEngineEvent::THROTTLED_TYPES_CHANGED); in NotifyThrottledTypesChanged()
872 SyncEngineEvent event(SyncEngineEvent::ACTIONABLE_ERROR); in OnActionableError()
Dall_status.h42 virtual void OnSyncEngineEvent(const SyncEngineEvent& event) OVERRIDE;
67 SyncStatus CalcSyncing(const SyncEngineEvent& event) const;
Dsyncer.cc126 session->SendEventNotification(SyncEngineEvent::STATUS_CHANGED); in ApplyUpdates()
189 session->SendEventNotification(SyncEngineEvent::SYNC_CYCLE_BEGIN); in HandleCycleBegin()
Dsync_scheduler_impl.h198 void Notify(SyncEngineEvent::EventCause cause);
/external/chromium/chrome/browser/sync/engine/
Dsyncer_types.cc9 SyncEngineEvent::SyncEngineEvent(EventCause cause) : what_happened(cause), in SyncEngineEvent() function in browser_sync::SyncEngineEvent
13 SyncEngineEvent::~SyncEngineEvent() {} in ~SyncEngineEvent()
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.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()
/external/chromium_org/sync/sessions/
Dsync_session.cc72 SyncEngineEvent event(SyncEngineEvent::SYNC_CYCLE_ENDED); in SendSyncCycleEndEventNotification()
80 void SyncSession::SendEventNotification(SyncEngineEvent::EventCause cause) { in SendEventNotification()
81 SyncEngineEvent event(cause); in SendEventNotification()
Dsync_session.h103 void SendEventNotification(SyncEngineEvent::EventCause cause);
Dsync_session_context.h110 void NotifyListeners(const SyncEngineEvent& event) { in NotifyListeners()
/external/chromium/chrome/browser/sync/sessions/
Dsync_session_context.h95 void NotifyListeners(const SyncEngineEvent& event) { in NotifyListeners()
/external/chromium_org/sync/internal_api/
Dsync_manager_impl.cc926 void SyncManagerImpl::OnSyncEngineEvent(const SyncEngineEvent& event) { in OnSyncEngineEvent()
935 if (event.what_happened == SyncEngineEvent::SYNC_CYCLE_ENDED) { in OnSyncEngineEvent()
947 if (event.what_happened == SyncEngineEvent::STOP_SYNCING_PERMANENTLY) { in OnSyncEngineEvent()
953 if (event.what_happened == SyncEngineEvent::ACTIONABLE_ERROR) { in OnSyncEngineEvent()
Dsync_manager_impl.h138 virtual void OnSyncEngineEvent(const SyncEngineEvent& event) OVERRIDE;

12