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

Unified Diff: chrome/installer/util/master_preferences_unittest.cc

Issue 1226643002: Welcome page changes for Windows 10 and over. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rewording in policy_templates.json and sync to position 338549 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
« no previous file with comments | « chrome/installer/util/master_preferences_constants.cc ('k') | chrome/test/base/testing_browser_process.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/master_preferences_unittest.cc
diff --git a/chrome/installer/util/master_preferences_unittest.cc b/chrome/installer/util/master_preferences_unittest.cc
index 74de3aca9141007957739c1902c8435904c07e21..be0d8bac08cdbfb083bb170c31c7a802fcd90b6b 100644
--- a/chrome/installer/util/master_preferences_unittest.cc
+++ b/chrome/installer/util/master_preferences_unittest.cc
@@ -57,6 +57,7 @@ TEST_F(MasterPreferencesTest, ParseDistroParams) {
" \"import_bookmarks\": true,\n"
" \"import_bookmarks_from_file\": \"c:\\\\foo\",\n"
" \"import_home_page\": true,\n"
+ " \"welcome_page_on_os_upgrade_enabled\": true,\n"
" \"do_not_create_any_shortcuts\": true,\n"
" \"do_not_create_desktop_shortcut\": true,\n"
" \"do_not_create_quick_launch_shortcut\": true,\n"
@@ -86,6 +87,7 @@ TEST_F(MasterPreferencesTest, ParseDistroParams) {
installer::master_preferences::kDistroImportHistoryPref,
installer::master_preferences::kDistroImportBookmarksPref,
installer::master_preferences::kDistroImportHomePagePref,
+ installer::master_preferences::kDistroWelcomePageOnOSUpgradeEnabled,
installer::master_preferences::kDoNotCreateAnyShortcuts,
installer::master_preferences::kDoNotCreateDesktopShortcut,
installer::master_preferences::kDoNotCreateQuickLaunchShortcut,
@@ -157,6 +159,7 @@ TEST_F(MasterPreferencesTest, ParseMissingDistroParams) {
const char* const missing_bools[] = {
installer::master_preferences::kDistroImportHomePagePref,
+ installer::master_preferences::kDistroWelcomePageOnOSUpgradeEnabled,
installer::master_preferences::kDoNotRegisterForUpdateLaunch,
installer::master_preferences::kMakeChromeDefault,
installer::master_preferences::kMakeChromeDefaultForUser,
« no previous file with comments | « chrome/installer/util/master_preferences_constants.cc ('k') | chrome/test/base/testing_browser_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698