| Index: chrome/browser/ui/sync/sync_promo_ui.cc
|
| diff --git a/chrome/browser/ui/sync/sync_promo_ui.cc b/chrome/browser/ui/sync/sync_promo_ui.cc
|
| index 591f4e2f32475fe46e29bb08f62a9528dc95d670..1c4bf7e3ccb8079594f4f761d8ed3d2daca18984 100644
|
| --- a/chrome/browser/ui/sync/sync_promo_ui.cc
|
| +++ b/chrome/browser/ui/sync/sync_promo_ui.cc
|
| @@ -97,10 +97,6 @@ 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;
|
| -
|
| // Don't show for managed profiles.
|
| if (profile->GetPrefs()->GetBoolean(prefs::kProfileIsManaged))
|
| return false;
|
| @@ -143,6 +139,10 @@ bool SyncPromoUI::ShouldShowSyncPromoAtStartup(Profile* profile,
|
| bool is_new_profile) {
|
| DCHECK(profile);
|
|
|
| + // Don't show if the profile is an incognito.
|
| + if (profile->IsOffTheRecord())
|
| + return false;
|
| +
|
| if (!ShouldShowSyncPromo(profile))
|
| return false;
|
|
|
|
|