diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-02 02:02:45 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-02 02:02:45 +0000 |
commit | 0605e67bec78b9822348d9716e1fdd1eaae680fa (patch) | |
tree | 9a20074054b2e2626d24b57ae09037983188cb96 /net | |
parent | cd664eb4a3d501baf11b41b8fe3e5ff1423549f4 (diff) | |
download | chromium_src-0605e67bec78b9822348d9716e1fdd1eaae680fa.zip chromium_src-0605e67bec78b9822348d9716e1fdd1eaae680fa.tar.gz chromium_src-0605e67bec78b9822348d9716e1fdd1eaae680fa.tar.bz2 |
Disk cache: Disable the throttling experiment.
This is intended for the beta/stable channels.
BUG=none
TEST=none
TBR=gavinp
Review URL: http://codereview.chromium.org/6286036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73402 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/disk_cache/backend_impl.cc | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc index 0a6ad778..593d271 100644 --- a/net/disk_cache/backend_impl.cc +++ b/net/disk_cache/backend_impl.cc @@ -180,14 +180,7 @@ bool SetFieldTrialInfo(int size_group) { new base::FieldTrial("CacheSize", totalProbability, group1, 2011, 6, 30)); trial1->AppendGroup(group1, totalProbability); - // After June 30, 2011 builds, it will always be in default group. - scoped_refptr<base::FieldTrial> trial2( - new base::FieldTrial( - "CacheThrottle", 100, "CacheThrottle_Default", 2011, 6, 30)); - int group2a = trial2->AppendGroup("CacheThrottle_On", 10); // 10 % in. - trial2->AppendGroup("CacheThrottle_Off", 10); // 10 % control. - - return trial2->group() == group2a; + return false; } // ------------------------------------------------------------------------ @@ -1140,10 +1133,6 @@ void BackendImpl::OnOperationCompleted(base::TimeDelta elapsed_time) { if (cache_type() != net::DISK_CACHE) return; - UMA_HISTOGRAM_TIMES(base::FieldTrial::MakeName("DiskCache.TotalIOTime", - "CacheThrottle").data(), - elapsed_time); - if (!throttle_requests_) return; |