diff options
author | lzheng@chromium.org <lzheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-20 22:07:03 +0000 |
---|---|---|
committer | lzheng@chromium.org <lzheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-20 22:07:03 +0000 |
commit | 87bb1840e3ea8184472096f19bceddecde346873 (patch) | |
tree | 098c9f3bae801e59018f63d19bed77fe2927d92a /chrome/browser/browser_main.cc | |
parent | df0f6e8f05dcab26f0e53bda494cb0d22ae315d0 (diff) | |
download | chromium_src-87bb1840e3ea8184472096f19bceddecde346873.zip chromium_src-87bb1840e3ea8184472096f19bceddecde346873.tar.gz chromium_src-87bb1840e3ea8184472096f19bceddecde346873.tar.bz2 |
Enable spdy to 95%, npn only to 5%.
BUG=48964
TEST=none
Review URL: http://codereview.chromium.org/3115023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56915 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_main.cc')
-rw-r--r-- | chrome/browser/browser_main.cc | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc index 5f518a4..bf299bd 100644 --- a/chrome/browser/browser_main.cc +++ b/chrome/browser/browser_main.cc @@ -344,15 +344,8 @@ void BrowserMainParts::SpdyFieldTrial() { const FieldTrial::Probability kSpdyDivisor = 1000; // To enable 100% npn_with_spdy, set npnhttp_probability = 0 and set // npnspdy_probability = FieldTrial::kAllRemainingProbability. - // To collect stats, make sure that FieldTrial are distributed among - // all the three groups: - // npn_with_spdy : 50%, npn_with_http : 25%, default (no npn, no spdy): 25%. - // a. npn_with_spdy and default: these are used to collect stats for - // alternate protocol with spdy vs. no alternate protocol case. - // b. npn_with_spdy and npn_with_http: these are used to collect stats for - // https vs. https over spdy case. - FieldTrial::Probability npnhttp_probability = 250; - FieldTrial::Probability npnspdy_probability = 500; + FieldTrial::Probability npnhttp_probability = 50; + FieldTrial::Probability npnspdy_probability = 950; scoped_refptr<FieldTrial> trial = new FieldTrial("SpdyImpact", kSpdyDivisor); // npn with only http support, no spdy. |