Index: chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc |
diff --git a/chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc b/chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc |
index 70059a374fad0edcc6cf626ff69005b4cdee38e7..6f6115bbf8e310f08b36b2ec3f1d93e30d876fa5 100644 |
--- a/chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc |
+++ b/chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc |
@@ -133,6 +133,10 @@ bool SyncPromoUI::ShouldShowSyncPromo(Profile* profile) { |
if (profile->IsOffTheRecord()) |
return false; |
+ // Don't show for managed profiles. |
+ if (profile->GetPrefs()->GetBoolean(prefs::kProfileIsManaged)) |
+ return false; |
+ |
// Display the signin promo if the user is not signed in. |
SigninManager* signin = SigninManagerFactory::GetForProfile( |
profile->GetOriginalProfile()); |