Index: chrome/browser/ui/webui/options/browser_options_handler.cc |
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc |
index 3490fe533c87e63d932622dfeca69f3d4ffcb867..aeb6a6c49de9c26c1dca4bfb04a89724462fb374 100644 |
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc |
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc |
@@ -947,19 +947,19 @@ void BrowserOptionsHandler::Uninitialize() { |
#endif |
} |
-void BrowserOptionsHandler::OnStateChanged() { |
+void BrowserOptionsHandler::OnStateChanged(syncer::SyncService* sync) { |
UpdateSyncState(); |
} |
void BrowserOptionsHandler::GoogleSigninSucceeded(const std::string& account_id, |
const std::string& username, |
const std::string& password) { |
- OnStateChanged(); |
+ UpdateSyncState(); |
} |
void BrowserOptionsHandler::GoogleSignedOut(const std::string& account_id, |
const std::string& username) { |
- OnStateChanged(); |
+ UpdateSyncState(); |
} |
void BrowserOptionsHandler::PageLoadStarted() { |
@@ -1122,7 +1122,7 @@ void BrowserOptionsHandler::InitializePage() { |
OnTemplateURLServiceChanged(); |
ObserveThemeChanged(); |
- OnStateChanged(); |
+ UpdateSyncState(); |
#if !defined(OS_CHROMEOS) |
UpdateDefaultBrowserState(); |
#endif |
@@ -1374,7 +1374,7 @@ void BrowserOptionsHandler::Observe( |
break; |
case chrome::NOTIFICATION_GLOBAL_ERRORS_CHANGED: |
// Update our sync/signin status display. |
- OnStateChanged(); |
+ UpdateSyncState(); |
break; |
default: |
NOTREACHED(); |