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

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

Issue 12088040: Add a SigninAllowed policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address nits and rebase to ToT. Created 7 years, 10 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/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 b7a285ff564b0f5648399ac82a42a44337dfaa09..db205f6463b942afda45ae633000cf583cb13ca6 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.h
+++ b/chrome/browser/ui/webui/options/browser_options_handler.h
@@ -56,6 +56,9 @@ class BrowserOptionsHandler
// ProfileSyncServiceObserver implementation.
virtual void OnStateChanged() OVERRIDE;
+ // Will be called when the kSigninAllowed pref has changed.
+ void OnSigninAllowedPrefChange();
+
// ShellIntegration::DefaultWebClientObserver implementation.
virtual void SetDefaultWebClientUIState(
ShellIntegration::DefaultWebClientUIState state) OVERRIDE;
@@ -288,9 +291,7 @@ class BrowserOptionsHandler
IntegerPrefMember default_font_size_;
DoublePrefMember default_zoom_level_;
-#if !defined(OS_CHROMEOS)
- PrefChangeRegistrar proxy_prefs_;
-#endif // !defined(OS_CHROMEOS)
+ PrefChangeRegistrar profile_pref_registrar_;
DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler);
};
« no previous file with comments | « chrome/browser/ui/webui/ntp/ntp_login_handler.cc ('k') | chrome/browser/ui/webui/options/browser_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698