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

Unified Diff: chrome/browser/net/dns_global.cc

Issue 150087: Create A/B test of SDCH... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 | « chrome/browser/browser_main.cc ('k') | chrome/browser/net/dns_master.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/dns_global.cc
===================================================================
--- chrome/browser/net/dns_global.cc (revision 19579)
+++ chrome/browser/net/dns_global.cc (working copy)
@@ -581,12 +581,15 @@
int parallel_4_prefetch = trial_->AppendGroup("_parallel_4_prefetch",
kProbabilityPerGroup);
// Set congestion detection at 500ms, rather than the 1 second default.
- int max_500ms_prefetch = trial_->AppendGroup("_max_500ms_prefetch_queue",
+ int max_500ms_prefetch = trial_->AppendGroup("_max_500ms_queue_prefetch",
kProbabilityPerGroup);
// Set congestion detection at 2 seconds instead of the 1 second default.
- int max_2s_prefetch = trial_->AppendGroup("_max_2s_prefetch_queue",
+ int max_2s_prefetch = trial_->AppendGroup("_max_2s_queue_prefetch",
kProbabilityPerGroup);
+ trial_->AppendGroup("_default_enabled_prefetch",
+ FieldTrial::kAllRemainingProbability);
+
if (trial_->group() != disabled_prefetch) {
// Initialize the DNS prefetch system.
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/net/dns_master.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698