summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main.cc
diff options
context:
space:
mode:
authormirandac@google.com <mirandac@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-16 15:48:05 +0000
committermirandac@google.com <mirandac@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-16 15:48:05 +0000
commit39909f9ccfd4746f8bac60bb356032efcd0951d3 (patch)
tree49994e45b4993e5676e2e1c51fbeb26f1f0ebdd8 /chrome/browser/browser_main.cc
parent7c46c809686906f9c5bd33dadb2836c00f909104 (diff)
downloadchromium_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/browser/browser_main.cc')
-rw-r--r--chrome/browser/browser_main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index 361be11..9bec9f2 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -1205,6 +1205,7 @@ int BrowserMain(const MainFunctionParams& parameters) {
master_prefs.do_import_items,
master_prefs.dont_import_items,
master_prefs.run_search_engine_experiment,
+ master_prefs.randomize_search_engine_experiment,
&process_singleton)) {
// The user cancelled the first run dialog box, we should exit Chrome.
return ResultCodes::NORMAL_EXIT;