Index: chrome/browser/profiles/profile.h |
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h |
index 65eb0c9225944af750b305f6c0da13ce2fe26266..2d80f003848ce38b36ec707e7279c20f4d62a850 100644 |
--- a/chrome/browser/profiles/profile.h |
+++ b/chrome/browser/profiles/profile.h |
@@ -353,6 +353,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(); |
+ |
// 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. |