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

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: Some bugfixes. 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 3824c99541016161fa9925705324bc68c1042641..93ebf490759090149729fb0fda358044f87b2cab 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.h
+++ b/chrome/browser/ui/webui/options/browser_options_handler.h
@@ -14,6 +14,7 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search_engines/template_url_service_observer.h"
#include "chrome/browser/shell_integration.h"
+#include "chrome/browser/signin/signin_pref_observer.h"
#include "chrome/browser/ui/webui/options/options_ui.h"
#include "ui/base/models/table_model_observer.h"
#include "ui/shell_dialogs/select_file_dialog.h"
@@ -36,6 +37,7 @@ class BrowserOptionsHandler
: public OptionsPageUIHandler,
public CloudPrintSetupHandlerDelegate,
public ProfileSyncServiceObserver,
+ public SigninPrefObserver,
public ui::SelectFileDialog::Listener,
public ShellIntegration::DefaultWebClientObserver,
#if defined(OS_CHROMEOS)
@@ -56,6 +58,9 @@ class BrowserOptionsHandler
// ProfileSyncServiceObserver implementation.
virtual void OnStateChanged() OVERRIDE;
+ // SigninPrefObserver implementation.
+ virtual void OnSigninAllowedPrefChange(bool signin_allowed) OVERRIDE;
+
// ShellIntegration::DefaultWebClientObserver implementation.
virtual void SetDefaultWebClientUIState(
ShellIntegration::DefaultWebClientUIState state) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698