| Index: chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc
|
| ===================================================================
|
| --- chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc (revision 187934)
|
| +++ chrome/browser/ui/webui/sync_promo/sync_promo_ui.cc (working copy)
|
| @@ -129,6 +129,10 @@
|
| 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());
|
|
|