| 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();
|
| +
|
| // 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.
|
|
|