diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-16 04:12:15 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-16 04:12:15 +0000 |
commit | 780f849517c85d5596bf5b6b4843da0ab3087eca (patch) | |
tree | 7af5f609d0f8d758e90bb579914115d12c88ee60 /chrome/browser/io_thread.cc | |
parent | 7a4c685b6ea64503334571fdafff5b2be684b9cc (diff) | |
download | chromium_src-780f849517c85d5596bf5b6b4843da0ab3087eca.zip chromium_src-780f849517c85d5596bf5b6b4843da0ab3087eca.tar.gz chromium_src-780f849517c85d5596bf5b6b4843da0ab3087eca.tar.bz2 |
Reduce fieldtrials percentages for push to stable M7
In one case, completely removed the field trial.
BUG=55634
r=mbelshe,willchan
Review URL: http://codereview.chromium.org/3449003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59614 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/io_thread.cc')
-rw-r--r-- | chrome/browser/io_thread.cc | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc index 3780118..f361b77 100644 --- a/chrome/browser/io_thread.cc +++ b/chrome/browser/io_thread.cc @@ -57,26 +57,8 @@ net::HostResolver* CreateGlobalHostResolver(net::NetLog* net_log) { net::HostResolverImpl* host_resolver_impl = global_host_resolver->GetAsHostResolverImpl(); if (host_resolver_impl != NULL) { - // (optionally) Use probe to decide if support is warranted. - bool use_ipv6_probe = true; - -#if defined(OS_WIN) - // Measure impact of probing to allow IPv6. - // Some users report confused OS handling of IPv6, leading to large - // latency. If we can show that IPv6 is not supported, then disabliing - // it will work around such problems. This is the test of the probe. - const FieldTrial::Probability kDivisor = 100; - const FieldTrial::Probability kProbability = 50; // 50% probability. - FieldTrial* trial = new FieldTrial("IPv6_Probe", kDivisor); - int skip_group = trial->AppendGroup("IPv6_probe_skipped", - kProbability); - trial->AppendGroup("IPv6_probe_done", - FieldTrial::kAllRemainingProbability); - use_ipv6_probe = (trial->group() != skip_group); -#endif - - if (use_ipv6_probe) - host_resolver_impl->ProbeIPv6Support(); + // Use probe to decide if support is warranted. + host_resolver_impl->ProbeIPv6Support(); } } } |