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

Unified Diff: components/sync/driver/sync_service_observer.cc

Issue 2657673004: Add shutdown notification and service refs to SyncServiceObserver. (Closed)
Patch Set: Use parameter Created 3 years, 11 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: components/sync/driver/sync_service_observer.cc
diff --git a/components/sync/driver/sync_service_observer.cc b/components/sync/driver/sync_service_observer.cc
index cada12027631a526bd394593d3cc5260ff28a17f..ff8b60a1d8f8155e042116fbd8d8ea5f28b64df8 100644
--- a/components/sync/driver/sync_service_observer.cc
+++ b/components/sync/driver/sync_service_observer.cc
@@ -6,8 +6,8 @@
namespace syncer {
-void SyncServiceObserver::OnSyncCycleCompleted() {
- OnStateChanged();
+void SyncServiceObserver::OnSyncCycleCompleted(SyncService* sync) {
+ OnStateChanged(sync);
}
} // namespace syncer

Powered by Google App Engine
This is Rietveld 408576698