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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 1226643002: Welcome page changes for Windows 10 and over. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix RestoreOnStartupURLsPolicySpecified Created 5 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/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index b1cfe0b6d89997f4e84d4136827d74d16974ed71..c35b9993186f761654d7812177cc14eb7a62525c 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -988,6 +988,11 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
// when this value will be updated.
local_state_->SetInt64(prefs::kVariationsSeedDate,
base::Time::Now().ToInternalValue());
+
+#if defined(OS_WIN)
+ if (!master_prefs_->welcome_page_on_os_upgrade_enabled)
+ local_state_->SetBoolean(prefs::kWelcomePageOnOSUpgradeEnabled, false);
gab 2015/07/09 18:05:11 Should be outside the |variations_seed| if (i.e. u
grt (UTC plus 2) 2015/07/10 15:43:23 Absolutely. Nice catch.
+#endif
}
if (!master_prefs_->suppress_default_browser_prompt_for_version.empty()) {

Powered by Google App Engine
This is Rietveld 408576698