Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(456)

Unified Diff: chrome/browser/browser_main.cc

Issue 3115023: Enable spdy to 95%, npn only to 5%. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_main.cc
===================================================================
--- chrome/browser/browser_main.cc (revision 56881)
+++ chrome/browser/browser_main.cc (working copy)
@@ -344,15 +344,8 @@
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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698