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(); |
Andrew T Wilson (Slow)
2013/05/14 12:34:01
Agreed with Tim that it's too bad that we have so
|
} |
void Profile::MaybeSendDestroyedNotification() { |