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

Unified Diff: chrome/browser/ui/webui/foreign_session_handler.cc

Issue 2657673004: Add shutdown notification and service refs to SyncServiceObserver. (Closed)
Patch Set: Chromeos fix 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/foreign_session_handler.cc
diff --git a/chrome/browser/ui/webui/foreign_session_handler.cc b/chrome/browser/ui/webui/foreign_session_handler.cc
index df6d2570780cc5eec87ba54ca7fba353f4f2b1bf..a20538f62d93aac64164bc7fffba8e2f5ff9caab 100644
--- a/chrome/browser/ui/webui/foreign_session_handler.cc
+++ b/chrome/browser/ui/webui/foreign_session_handler.cc
@@ -229,11 +229,12 @@ void ForeignSessionHandler::RegisterMessages() {
base::Unretained(this)));
}
-void ForeignSessionHandler::OnSyncConfigurationCompleted() {
+void ForeignSessionHandler::OnSyncConfigurationCompleted(
+ syncer::SyncService* sync) {
HandleGetForeignSessions(nullptr);
}
-void ForeignSessionHandler::OnForeignSessionUpdated() {
+void ForeignSessionHandler::OnForeignSessionUpdated(syncer::SyncService* sync) {
HandleGetForeignSessions(nullptr);
}
« no previous file with comments | « chrome/browser/ui/webui/foreign_session_handler.h ('k') | chrome/browser/ui/webui/options/browser_options_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698