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

Unified Diff: components/sync/driver/sync_error_controller.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_error_controller.cc
diff --git a/components/sync/driver/sync_error_controller.cc b/components/sync/driver/sync_error_controller.cc
index 6bb93c205cc888431d09bcb2a1a356ea6ae0f1b2..29116fe5847598a2bc0ac5e9ec818296a7131797 100644
--- a/components/sync/driver/sync_error_controller.cc
+++ b/components/sync/driver/sync_error_controller.cc
@@ -28,7 +28,7 @@ void SyncErrorController::RemoveObserver(Observer* observer) {
observer_list_.RemoveObserver(observer);
}
-void SyncErrorController::OnStateChanged() {
+void SyncErrorController::OnStateChanged(syncer::SyncService* sync) {
for (auto& observer : observer_list_)
observer.OnErrorChanged();
}

Powered by Google App Engine
This is Rietveld 408576698