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

Unified Diff: chrome/browser/ui/startup/startup_browser_creator.cc

Issue 2578843002: Implement Win 10 onboarding content logic (Closed)
Patch Set: Created 4 years 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/startup/startup_browser_creator.cc
diff --git a/chrome/browser/ui/startup/startup_browser_creator.cc b/chrome/browser/ui/startup/startup_browser_creator.cc
index 9caec3b3b51986a3d74f665f9aa47bbd0971989f..e0fe6dac685f4bc20952aec152cb7f5c2ca72234 100644
--- a/chrome/browser/ui/startup/startup_browser_creator.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator.cc
@@ -489,6 +489,9 @@ void StartupBrowserCreator::RegisterProfilePrefs(PrefRegistrySimple* registry) {
// ProfileManager handles setting this to false for new profiles upon
// creation.
registry->RegisterBooleanPref(prefs::kHasSeenWelcomePage, true);
+
+ // All users should see this promo once.
+ registry->RegisterBooleanPref(prefs::kHasSeenWin10PromoPage, false);
tmartino 2016/12/15 16:41:28 Per talking with Eli and Rachel, let's make this a
Patrick Monette 2016/12/15 18:28:09 Done.
}
// static

Powered by Google App Engine
This is Rietveld 408576698