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

Unified Diff: chrome/browser/profiles/profile_io_data.h

Issue 12088040: Add a SigninAllowed policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add tests and link UpdateLogin to kSigninAllowed pref. 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/profiles/profile_io_data.h
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h
index 03faa860eb1f8ba857dd7b35fa7e43e561a5dd15..fc9861f3676448b46db166260c02fb935f2c2f0b 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -153,6 +153,10 @@ class ProfileIOData {
return &sync_disabled_;
}
+ BooleanPrefMember* signin_allowed() const {
+ return &signin_allowed_;
+ }
+
net::TransportSecurityState* transport_security_state() const {
return transport_security_state_.get();
}
@@ -440,6 +444,7 @@ class ProfileIOData {
mutable BooleanPrefMember safe_browsing_enabled_;
mutable BooleanPrefMember printing_enabled_;
mutable BooleanPrefMember sync_disabled_;
+ mutable BooleanPrefMember signin_allowed_;
// TODO(marja): Remove session_startup_pref_ if no longer needed.
mutable IntegerPrefMember session_startup_pref_;

Powered by Google App Engine
This is Rietveld 408576698