| Index: chrome/browser/profiles/profile.cc
|
| diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
|
| index 804bcf48fdf836f1fb9587b7ff54aaad12bf1edd..2109391f131957f8fe178a6d5923ce075826f220 100644
|
| --- a/chrome/browser/profiles/profile.cc
|
| +++ b/chrome/browser/profiles/profile.cc
|
| @@ -129,6 +129,10 @@ bool Profile::IsGuestSession() const {
|
| #endif
|
| }
|
|
|
| +bool Profile::IsSigninAllowed() {
|
| + return GetPrefs()->GetBoolean(prefs::kSigninAllowed);
|
| +}
|
| +
|
| bool Profile::IsSyncAccessible() {
|
| browser_sync::SyncPrefs prefs(GetPrefs());
|
| return ProfileSyncService::IsSyncEnabled() && !prefs.IsManaged();
|
|
|