Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: sync/engine/syncer.cc

Issue 152013003: Split up SyncEngineEventListener callbacks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sync/engine/syncer.cc
diff --git a/sync/engine/syncer.cc b/sync/engine/syncer.cc
index 892eff5ae1e088426a4a81f57543be5b8593ed7a..629635d73240d23ee8cd3ac97cf207cba575a1dd 100644
--- a/sync/engine/syncer.cc
+++ b/sync/engine/syncer.cc
@@ -179,7 +179,7 @@ void Syncer::ApplyUpdates(SyncSession* session,
session->context()->set_hierarchy_conflict_detected(
session->status_controller().num_hierarchy_conflicts() > 0);
- session->SendEventNotification(SyncEngineEvent::STATUS_CHANGED);
+ session->SendEventNotification(SyncCycleEvent::STATUS_CHANGED);
}
bool Syncer::DownloadUpdates(
@@ -242,7 +242,7 @@ SyncerError Syncer::BuildAndPostCommits(ModelTypeSet requested_types,
void Syncer::HandleCycleBegin(SyncSession* session) {
session->mutable_status_controller()->UpdateStartTime();
- session->SendEventNotification(SyncEngineEvent::SYNC_CYCLE_BEGIN);
+ session->SendEventNotification(SyncCycleEvent::SYNC_CYCLE_BEGIN);
}
bool Syncer::HandleCycleEnd(

Powered by Google App Engine
This is Rietveld 408576698