| Index: chrome/browser/profiles/profile.cc
|
| diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
|
| index a0e6f6773fdb9a9fd3c1707f84692ccc307ec212..d31ebb86d080fa506ce138700f1c3621daaf7b29 100644
|
| --- a/chrome/browser/profiles/profile.cc
|
| +++ b/chrome/browser/profiles/profile.cc
|
| @@ -151,7 +151,8 @@ bool Profile::IsNewProfile() {
|
|
|
| bool Profile::IsSyncAccessible() {
|
| browser_sync::SyncPrefs prefs(GetPrefs());
|
| - return ProfileSyncService::IsSyncEnabled() && !prefs.IsManaged();
|
| + return ProfileSyncService::IsSyncEnabled() && !prefs.IsManaged() &&
|
| + !prefs.IsSyncDisabledByAdmin();
|
| }
|
|
|
| void Profile::MaybeSendDestroyedNotification() {
|
|
|