diff options
author | tburkard@chromium.org <tburkard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-05 21:59:30 +0000 |
---|---|---|
committer | tburkard@chromium.org <tburkard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-05 21:59:30 +0000 |
commit | c0db68ee8f400f3ce21cb167829394f75a2ee869 (patch) | |
tree | 8d00079dfcd0b98bbf33b23562c1cd0cb46f85a0 /chrome/browser/prerender/prerender_field_trial.cc | |
parent | b2f65314a8adcc1a8d496ecc43c1610108764e88 (diff) | |
download | chromium_src-c0db68ee8f400f3ce21cb167829394f75a2ee869.zip chromium_src-c0db68ee8f400f3ce21cb167829394f75a2ee869.tar.gz chromium_src-c0db68ee8f400f3ce21cb167829394f75a2ee869.tar.bz2 |
Remove configuration of LocalPredictor field trial, since it is no longer
needed.
R=jam@chromium.org
Review URL: https://codereview.chromium.org/22267004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215694 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/prerender/prerender_field_trial.cc')
-rw-r--r-- | chrome/browser/prerender/prerender_field_trial.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/browser/prerender/prerender_field_trial.cc b/chrome/browser/prerender/prerender_field_trial.cc index 5b403084..e7b91ad 100644 --- a/chrome/browser/prerender/prerender_field_trial.cc +++ b/chrome/browser/prerender/prerender_field_trial.cc @@ -163,7 +163,6 @@ void SetupPrerenderFieldTrial() { } // end namespace void ConfigureOmniboxPrerender(); -void ConfigureLocalPredictor(); void ConfigurePrefetchAndPrerender(const CommandLine& command_line) { enum PrerenderOption { @@ -220,7 +219,6 @@ void ConfigurePrefetchAndPrerender(const CommandLine& command_line) { } ConfigureOmniboxPrerender(); - ConfigureLocalPredictor(); } void ConfigureOmniboxPrerender() { @@ -242,19 +240,6 @@ void ConfigureOmniboxPrerender() { kDisabledProbability); } -void ConfigureLocalPredictor() { - chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel(); - if (channel == chrome::VersionInfo::CHANNEL_STABLE || - channel == chrome::VersionInfo::CHANNEL_BETA) { - return; - } - scoped_refptr<FieldTrial> local_predictor_trial( - FieldTrialList::FactoryGetFieldTrial( - kLocalPredictorKeyName, 100, kDisabledGroup, 2013, 12, 31, - FieldTrial::SESSION_RANDOMIZED, NULL)); - local_predictor_trial->AppendGroup(kEnabledGroup, 100); -} - bool IsOmniboxEnabled(Profile* profile) { if (!profile) return false; |