Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2357)

Unified Diff: chrome/browser/ui/sync/sync_promo_ui.cc

Issue 18603006: Bookmark sync promo for Views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Improved style Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 8698f14e5c33fe7eb6f89af68d40d70001c5b06a..078377da0ce42665bb1fa10e71e2b5e355a2fcf2 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;
-
Roger Tawa OOO till Jul 10th 2013/07/11 15:28:30 Why do we need this check? We don't suppress othe
fdoray 2013/07/11 19:00:40 SyncPromoUI::ShouldShowSyncPromo is used to determ
// Don't show for managed profiles.
if (profile->GetPrefs()->GetBoolean(prefs::kProfileIsManaged))
return false;

Powered by Google App Engine
This is Rietveld 408576698