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

Unified Diff: chrome/browser/ui/webui/options/browser_options_handler.h

Issue 22216002: Don't update profile information when the sync state changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 7 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/browser_options_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/browser_options_handler.h
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.h b/chrome/browser/ui/webui/options/browser_options_handler.h
index 8c819511a52da62d8f71b5fa6a2ba58f36c1297a..f465c995829800b58823cd0ab3b5c9ed708e7c92 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.h
+++ b/chrome/browser/ui/webui/options/browser_options_handler.h
@@ -59,13 +59,6 @@ class BrowserOptionsHandler
// ProfileSyncServiceObserver implementation.
virtual void OnStateChanged() OVERRIDE;
- // Will be called when the kSigninAllowed pref has changed.
- void OnSigninAllowedPrefChange();
-
- // Called whenever prefs::kSearchSuggestEnabled or the default search engine
- // changes, so that we can update the state of the Instant pref checkbox.
- void UpdateInstantCheckboxState();
-
// ShellIntegration::DefaultWebClientObserver implementation.
virtual void SetDefaultWebClientUIState(
ShellIntegration::DefaultWebClientUIState state) OVERRIDE;
@@ -93,6 +86,11 @@ class BrowserOptionsHandler
virtual void MouseExists(bool exists) OVERRIDE;
#endif
+ void UpdateSyncState();
+
+ // Will be called when the kSigninAllowed pref has changed.
+ void OnSigninAllowedPrefChange();
+
// Makes this the default browser. Called from WebUI.
void BecomeDefaultBrowser(const base::ListValue* args);
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/browser_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698