Home
last modified time | relevance | path

Searched refs:SyncCycleEvent (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/sync/engine/
Dsync_cycle_event.cc9 SyncCycleEvent::SyncCycleEvent(EventCause cause) : what_happened(cause) { in SyncCycleEvent() function in syncer::SyncCycleEvent
12 SyncCycleEvent::~SyncCycleEvent() {} in ~SyncCycleEvent()
Dall_status.cc38 SyncStatus AllStatus::CalcSyncing(const SyncCycleEvent &event) const { in CalcSyncing()
47 if (event.what_happened == SyncCycleEvent::SYNC_CYCLE_BEGIN) { in CalcSyncing()
49 } else if (event.what_happened == SyncCycleEvent::SYNC_CYCLE_ENDED) { in CalcSyncing()
58 if (event.what_happened == SyncCycleEvent::SYNC_CYCLE_ENDED) { in CalcSyncing()
75 void AllStatus::OnSyncCycleEvent(const SyncCycleEvent& event) { in OnSyncCycleEvent()
78 case SyncCycleEvent::SYNC_CYCLE_BEGIN: in OnSyncCycleEvent()
79 case SyncCycleEvent::STATUS_CHANGED: in OnSyncCycleEvent()
80 case SyncCycleEvent::SYNC_CYCLE_ENDED: in OnSyncCycleEvent()
Dsync_cycle_event.h15 struct SYNC_EXPORT_PRIVATE SyncCycleEvent { struct
28 explicit SyncCycleEvent(EventCause cause); argument
29 ~SyncCycleEvent();
Dall_status.h26 struct SyncCycleEvent;
44 virtual void OnSyncCycleEvent(const SyncCycleEvent& event) OVERRIDE;
74 SyncStatus CalcSyncing(const SyncCycleEvent& event) const;
Dsync_engine_event_listener.h15 struct SyncCycleEvent;
23 virtual void OnSyncCycleEvent(const SyncCycleEvent& event) = 0;
Dsyncer.cc154 session->SendEventNotification(SyncCycleEvent::STATUS_CHANGED); in DownloadAndApplyUpdates()
197 session->SendEventNotification(SyncCycleEvent::SYNC_CYCLE_BEGIN); in HandleCycleBegin()
Dsync_scheduler_impl.cc259 SyncCycleEvent event(SyncCycleEvent::STATUS_CHANGED); in SendInitialSnapshot()
Dsyncer_unittest.cc236 virtual void OnSyncCycleEvent(const SyncCycleEvent& event) OVERRIDE { in OnSyncCycleEvent()
240 case SyncCycleEvent::SYNC_CYCLE_BEGIN: // Fall through. in OnSyncCycleEvent()
241 case SyncCycleEvent::STATUS_CHANGED: in OnSyncCycleEvent()
242 case SyncCycleEvent::SYNC_CYCLE_ENDED: in OnSyncCycleEvent()
/external/chromium_org/sync/sessions/
Dsync_session.cc72 SyncCycleEvent event(SyncCycleEvent::SYNC_CYCLE_ENDED); in SendSyncCycleEndEventNotification()
82 void SyncSession::SendEventNotification(SyncCycleEvent::EventCause cause) { in SendEventNotification()
83 SyncCycleEvent event(cause); in SendEventNotification()
Dsync_session.h112 void SendEventNotification(SyncCycleEvent::EventCause cause);
/external/chromium_org/sync/internal_api/
Dsync_manager_impl.h154 virtual void OnSyncCycleEvent(const SyncCycleEvent& event) OVERRIDE;
Dsync_manager_impl.cc896 void SyncManagerImpl::OnSyncCycleEvent(const SyncCycleEvent& event) { in OnSyncCycleEvent()
905 if (event.what_happened == SyncCycleEvent::SYNC_CYCLE_ENDED) { in OnSyncCycleEvent()