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

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: 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
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c3baef0e7e514da12d0b3794f353524f62538589..ba57faf3df4123397e484eb063271a78fd0ca27f 100644
--- a/chrome/browser/profiles/profile_io_data.h
+++ b/chrome/browser/profiles/profile_io_data.h
@@ -175,6 +175,10 @@ class ProfileIOData {
return &sync_disabled_;
}
+ BooleanPrefMember* signin_allowed() const {
+ return &signin_allowed_;
+ }
+
net::TransportSecurityState* transport_security_state() const {
return transport_security_state_.get();
}
@@ -489,6 +493,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_;
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698