#include "components/sync/engine/cycle/sync_cycle.h"
#include <algorithm>
#include <iterator>
#include <vector>
#include "base/logging.h"
#include "base/observer_list.h"
#include "components/sync/engine/update_handler.h"
namespace syncer {
SyncCycle::SyncCycle(SyncCycleContext* context, Delegate* delegate)
: … { … }
SyncCycle::~SyncCycle() = default;
SyncCycleSnapshot SyncCycle::TakeSnapshot() const { … }
SyncCycleSnapshot SyncCycle::TakeSnapshotWithOrigin(
sync_pb::SyncEnums::GetUpdatesOrigin get_updates_origin) const { … }
void SyncCycle::SendSyncCycleEndEventNotification(
sync_pb::SyncEnums::GetUpdatesOrigin get_updates_origin) { … }
void SyncCycle::SendEventNotification(SyncCycleEvent::EventCause cause) { … }
void SyncCycle::SendProtocolEvent(const ProtocolEvent& event) { … }
}