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

Unified Diff: chrome/browser/first_run/first_run.cc

Issue 1127163004: Delete unused code in chrome/common or mark them as platform specific. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | chrome/common/chrome_constants.h » ('j') | chrome/installer/util/util_constants.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/first_run/first_run.cc
diff --git a/chrome/browser/first_run/first_run.cc b/chrome/browser/first_run/first_run.cc
index 26ef116fd0cdab8223853d4757a68aa88bcff183..671799c6b63f690b39e5e9dae48132fa14d70025 100644
--- a/chrome/browser/first_run/first_run.cc
+++ b/chrome/browser/first_run/first_run.cc
@@ -376,9 +376,11 @@ void FirstRunBubbleLauncher::Observe(
}
if (contents && contents->GetURL().SchemeIs(content::kChromeUIScheme)) {
+#if defined(OS_WIN)
// Suppress the first run bubble if 'make chrome metro' flow is showing.
if (contents->GetURL().host() == chrome::kChromeUIMetroFlowHost)
return;
+#endif
// Suppress the first run bubble if the NTP sync promo bubble is showing
// or if sign in is in progress.
« no previous file with comments | « no previous file | chrome/common/chrome_constants.h » ('j') | chrome/installer/util/util_constants.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698