Searched refs:SyncCycleEvent (Results 1 – 12 of 12) sorted by relevance
9 SyncCycleEvent::SyncCycleEvent(EventCause cause) : what_happened(cause) { in SyncCycleEvent() function in syncer::SyncCycleEvent12 SyncCycleEvent::~SyncCycleEvent() {} in ~SyncCycleEvent()
38 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()
15 struct SYNC_EXPORT_PRIVATE SyncCycleEvent { struct28 explicit SyncCycleEvent(EventCause cause); argument29 ~SyncCycleEvent();
26 struct SyncCycleEvent;44 virtual void OnSyncCycleEvent(const SyncCycleEvent& event) OVERRIDE;74 SyncStatus CalcSyncing(const SyncCycleEvent& event) const;
15 struct SyncCycleEvent;23 virtual void OnSyncCycleEvent(const SyncCycleEvent& event) = 0;
154 session->SendEventNotification(SyncCycleEvent::STATUS_CHANGED); in DownloadAndApplyUpdates()197 session->SendEventNotification(SyncCycleEvent::SYNC_CYCLE_BEGIN); in HandleCycleBegin()
259 SyncCycleEvent event(SyncCycleEvent::STATUS_CHANGED); in SendInitialSnapshot()
236 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()
72 SyncCycleEvent event(SyncCycleEvent::SYNC_CYCLE_ENDED); in SendSyncCycleEndEventNotification()82 void SyncSession::SendEventNotification(SyncCycleEvent::EventCause cause) { in SendEventNotification()83 SyncCycleEvent event(cause); in SendEventNotification()
112 void SendEventNotification(SyncCycleEvent::EventCause cause);
154 virtual void OnSyncCycleEvent(const SyncCycleEvent& event) OVERRIDE;
896 void SyncManagerImpl::OnSyncCycleEvent(const SyncCycleEvent& event) { in OnSyncCycleEvent()905 if (event.what_happened == SyncCycleEvent::SYNC_CYCLE_ENDED) { in OnSyncCycleEvent()