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

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

Issue 12088040: Add a SigninAllowed policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Extract managed user specific stuff into another changelist. 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.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index 40ca85de73bb64ed48b0636ff06803141ee44de5..93e2898b210cd14321440f4d165846d4f4fda084 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -351,6 +351,10 @@ class Profile : public content::BrowserContext {
// disabled or controlled by configuration management.
bool IsSyncAccessible();
+ // Checks whether signin to Chrome is allowed by the user. Returns false if
+ // signin is disabled or controlled by configuration management.
+ bool IsSigninAllowed();
sail 2013/02/08 20:18:57 Could we avoid adding this here? chrome/browser/si
Adrian Kuegel 2013/02/11 16:47:30 Yes, it can be avoided, it was just making the cod
+
// Send NOTIFICATION_PROFILE_DESTROYED for this Profile, if it has not
// already been sent. It is necessary because most Profiles are destroyed by
// ProfileDestroyer, but in tests, some are not.

Powered by Google App Engine
This is Rietveld 408576698