diff options
author | mirandac@google.com <mirandac@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-16 15:48:05 +0000 |
---|---|---|
committer | mirandac@google.com <mirandac@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-16 15:48:05 +0000 |
commit | 39909f9ccfd4746f8bac60bb356032efcd0951d3 (patch) | |
tree | 49994e45b4993e5676e2e1c51fbeb26f1f0ebdd8 /chrome/installer | |
parent | 7c46c809686906f9c5bd33dadb2836c00f909104 (diff) | |
download | chromium_src-39909f9ccfd4746f8bac60bb356032efcd0951d3.zip chromium_src-39909f9ccfd4746f8bac60bb356032efcd0951d3.tar.gz chromium_src-39909f9ccfd4746f8bac60bb356032efcd0951d3.tar.bz2 |
Allow randomized search engines in selection dialog.
Add an option in the master_preferences to randomize the order of logos in the search engine selection screen. This allows us to cull out a small subset of users to take part in a test of the effects of logo position on search engine choice.
I also filed http://crbug.com/46606 to remind me to revert this change when testing is complete.
BUG=46302
TEST=Add the following options to master_preferences:
"distribution": {
"search_engine_experiment": true,
"search_engine_experiment_randomize": true
}
Run a few times as --first-run, and see search engines appear in random order in the selection box.
Review URL: http://codereview.chromium.org/2808006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49950 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r-- | chrome/installer/util/master_preferences_constants.cc | 6 | ||||
-rw-r--r-- | chrome/installer/util/master_preferences_constants.h | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/chrome/installer/util/master_preferences_constants.cc b/chrome/installer/util/master_preferences_constants.cc index aa7c900..8dd7063 100644 --- a/chrome/installer/util/master_preferences_constants.cc +++ b/chrome/installer/util/master_preferences_constants.cc @@ -13,7 +13,7 @@ namespace master_preferences { const wchar_t kCreateAllShortcuts[] = L"create_all_shortcuts"; const wchar_t kDistroImportBookmarksPref[] = L"import_bookmarks"; const wchar_t kDistroImportBookmarksFromFilePref[] = - L"import_bookmarks_from_file"; + L"import_bookmarks_from_file"; const wchar_t kDistroImportHistoryPref[] = L"import_history"; const wchar_t kDistroImportHomePagePref[] = L"import_home_page"; const wchar_t kDistroImportSearchPref[] = L"import_search_engine"; @@ -23,12 +23,14 @@ namespace master_preferences { const wchar_t kDoNotCreateShortcuts[] = L"do_not_create_shortcuts"; const wchar_t kDoNotLaunchChrome[] = L"do_not_launch_chrome"; const wchar_t kDoNotRegisterForUpdateLaunch[] = - L"do_not_register_for_update_launch"; + L"do_not_register_for_update_launch"; const wchar_t kMakeChromeDefault[] = L"make_chrome_default"; const wchar_t kMakeChromeDefaultForUser[] = L"make_chrome_default_for_user"; const wchar_t kMsi[] = L"msi"; const wchar_t kRequireEula[] = L"require_eula"; const wchar_t kSearchEngineExperimentPref[] = L"search_engine_experiment"; + const wchar_t kSearchEngineExperimentRandomizePref[] = + L"search_engine_experiment_randomize"; const wchar_t kSystemLevel[] = L"system_level"; const wchar_t kVerboseLogging[] = L"verbose_logging"; const wchar_t kExtensionsBlock[] = L"extensions.settings"; diff --git a/chrome/installer/util/master_preferences_constants.h b/chrome/installer/util/master_preferences_constants.h index 6c5843a..ed2fe1f 100644 --- a/chrome/installer/util/master_preferences_constants.h +++ b/chrome/installer/util/master_preferences_constants.h @@ -65,6 +65,8 @@ extern const wchar_t kVerboseLogging[]; extern const wchar_t kExtensionsBlock[]; // Boolean. Use experimental search engine selection dialog. extern const wchar_t kSearchEngineExperimentPref[]; +// Boolean. Randomize logos in experimental search engine selection dialog. +extern const wchar_t kSearchEngineExperimentRandomizePref[]; } } |