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

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

Issue 1834783003: Added the SuppressUnsupportedOSWarning policy setting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed policy_test_cases Created 4 years, 9 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/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 0cd4a1b6408feb4bffc82eaa3d203142ac353cdd..c55aec67ee18ef7fde1ed0acacc0ffbe91589235 100644
--- a/chrome/browser/ui/startup/startup_browser_creator.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator.cc
@@ -475,6 +475,7 @@ void StartupBrowserCreator::RegisterLocalStatePrefs(
registry->RegisterStringPref(prefs::kLastWelcomedOSVersion, std::string());
registry->RegisterBooleanPref(prefs::kWelcomePageOnOSUpgradeEnabled, true);
#endif
+ registry->RegisterBooleanPref(prefs::kSuppressUnsupportedOSWarning, false);
Andrew T Wilson (Slow) 2016/03/27 09:28:44 Should this be behind a !OS_ANDROID flag?
grt (UTC plus 2) 2016/03/27 13:03:50 No. This cc file is in chrome_browser_ui_non_mobil
registry->RegisterBooleanPref(prefs::kWasRestarted, false);
}

Powered by Google App Engine
This is Rietveld 408576698