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 93b4677f8b99360b7815e725c75445209bc5f360..bde0c6c5fe3a8afd0fd613b790f72ab3a04b3ad8 100644 |
--- a/chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc |
+++ b/chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc |
@@ -129,6 +129,10 @@ bool SyncPromoUI::ShouldShowSyncPromo(Profile* profile) { |
if (net::NetworkChangeNotifier::IsOffline()) |
return false; |
+ // Don't show if the profile is an incognito. |
+ if (profile->IsOffTheRecord()) |
+ return false; |
+ |
// Display the signin promo if the user is not signed in. |
SigninManager* signin = SigninManagerFactory::GetForProfile( |
profile->GetOriginalProfile()); |