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

Unified Diff: chrome/browser/policy/configuration_policy_handler.h

Issue 12088040: Add a SigninAllowed policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to ToT, another try to upload. 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/policy/configuration_policy_handler.h
diff --git a/chrome/browser/policy/configuration_policy_handler.h b/chrome/browser/policy/configuration_policy_handler.h
index 8d75ddfb32c98bcae425a2e0c5b2cd1e15846c48..4a22cdf1efe901b415648d245915b5b5dc9f1bcd 100644
--- a/chrome/browser/policy/configuration_policy_handler.h
+++ b/chrome/browser/policy/configuration_policy_handler.h
@@ -221,6 +221,20 @@ class SyncPolicyHandler : public TypeCheckingPolicyHandler {
DISALLOW_COPY_AND_ASSIGN(SyncPolicyHandler);
};
+// ConfigurationPolicyHandler for the SigninAllowed policy.
+class SigninPolicyHandler: public TypeCheckingPolicyHandler {
Joao da Silva 2013/02/07 15:36:37 This class isn't ever instantiated, so the policy
Adrian Kuegel 2013/02/07 16:08:59 Thanks, I understand now that this special handlin
Joao da Silva 2013/02/07 16:13:05 Sounds good. Did you forget to upload that patch?
+ public:
+ SigninPolicyHandler();
+ virtual ~SigninPolicyHandler();
+
+ // ConfigurationPolicyHandler methods:
+ virtual void ApplyPolicySettings(const PolicyMap& policies,
+ PrefValueMap* prefs) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(SigninPolicyHandler);
+};
+
// ConfigurationPolicyHandler for the AutofillEnabled policy.
class AutofillPolicyHandler : public TypeCheckingPolicyHandler {
public:

Powered by Google App Engine
This is Rietveld 408576698