diff options
author | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-26 21:18:13 +0000 |
---|---|---|
committer | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-26 21:18:13 +0000 |
commit | 68adccabaf250a5f813fe531af6aeaa1c332c3eb (patch) | |
tree | 01ddf4aeffa617754780347a79a05007fecec7e6 /chrome/browser/browser_main.h | |
parent | ba18686c2bbb0707fede09e2c1e3b33caafebdb1 (diff) | |
download | chromium_src-68adccabaf250a5f813fe531af6aeaa1c332c3eb.zip chromium_src-68adccabaf250a5f813fe531af6aeaa1c332c3eb.tar.gz chromium_src-68adccabaf250a5f813fe531af6aeaa1c332c3eb.tar.bz2 |
Added a function to BrowserMainParts that sets up field trials. It is called after about_flags has converted the flags to command-line switches. This fixes the case where a field trial would opt a user out of a feature even when they'd explicitly enabled it in their flags.
Contributed by: dominich@chromium.org
BUG=none
TEST=Enable page-prerender through about:flags and restart. You should skip the random part of the Field Test.
Review URL: http://codereview.chromium.org/6354023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72689 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_main.h')
-rw-r--r-- | chrome/browser/browser_main.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/browser_main.h b/chrome/browser/browser_main.h index 7fd7142..a8f5442 100644 --- a/chrome/browser/browser_main.h +++ b/chrome/browser/browser_main.h @@ -80,6 +80,8 @@ class BrowserMainParts { void EarlyInitialization(); void MainMessageLoopStart(); + void SetupFieldTrials(); + protected: explicit BrowserMainParts(const MainFunctionParams& parameters); |