diff options
author | gspencer@chromium.org <gspencer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-28 23:42:45 +0000 |
---|---|---|
committer | gspencer@chromium.org <gspencer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-28 23:42:45 +0000 |
commit | b98def8645ad4e3239b74d8771eaa377d628212a (patch) | |
tree | 7616c756c0f194d3491b1ac18f5072d033daf61d /chrome/browser/chrome_browser_main.h | |
parent | 88e9362c9afd57d2f1b50e9bf5c212c855fd11ab (diff) | |
download | chromium_src-b98def8645ad4e3239b74d8771eaa377d628212a.zip chromium_src-b98def8645ad4e3239b74d8771eaa377d628212a.tar.gz chromium_src-b98def8645ad4e3239b74d8771eaa377d628212a.tar.bz2 |
This fixes field trial initialization for platform
specific trials.
BUG=none
TEST=Ran field trial on machine and checked about:histograms.
Review URL: https://chromiumcodereview.appspot.com/10727002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144838 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chrome_browser_main.h')
-rw-r--r-- | chrome/browser/chrome_browser_main.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/chrome_browser_main.h b/chrome/browser/chrome_browser_main.h index 84d1b38..f7002a4 100644 --- a/chrome/browser/chrome_browser_main.h +++ b/chrome/browser/chrome_browser_main.h @@ -81,6 +81,9 @@ class ChromeBrowserMainParts : public content::BrowserMainParts { // Runs the PageCycler; called if the switch kVisitURLs is present. virtual void RunPageCycler(); + // Override this in subclasses to initialize platform specific field trials. + virtual void SetupPlatformFieldTrials(); + // Displays a warning message that we can't find any locale data files. virtual void ShowMissingLocaleMessageBox() = 0; @@ -144,8 +147,7 @@ class ChromeBrowserMainParts : public content::BrowserMainParts { void SetupMetricsAndFieldTrials(); // Add an invocation of your field trial init function to this method. - void SetupFieldTrials(bool metrics_recording_enabled, - bool proxy_policy_is_set); + void SetupFieldTrials(bool proxy_policy_is_set); // Starts recording of metrics. This can only be called after we have a file // thread. |