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

Unified Diff: chrome/browser/ui/webui/settings/people_handler.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: chrome/browser/ui/webui/settings/people_handler.cc
diff --git a/chrome/browser/ui/webui/settings/people_handler.cc b/chrome/browser/ui/webui/settings/people_handler.cc
index 2fcfd1e1dcfd3070ee6ecd731baeef814351ee44..b86c221ec98838447933c29ca733b00dffd23c28 100644
--- a/chrome/browser/ui/webui/settings/people_handler.cc
+++ b/chrome/browser/ui/webui/settings/people_handler.cc
@@ -691,7 +691,7 @@ void PeopleHandler::GoogleSignedOut(const std::string& /* account_id */,
UpdateSyncStatus();
}
-void PeopleHandler::OnStateChanged() {
+void PeopleHandler::OnStateChanged(syncer::SyncService* sync) {
UpdateSyncStatus();
// When the SyncService changes its state, we should also push the updated

Powered by Google App Engine
This is Rietveld 408576698