diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-14 20:54:45 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-14 20:54:45 +0000 |
commit | 4875dd23b3b870a1261bdc85a00b3e56ca0a7b94 (patch) | |
tree | 8da75a7614862149f408167ba451a81cfe3f18a9 /net/disk_cache | |
parent | e91f9423f6dab15a77d11c9c7c44a832364d9f92 (diff) | |
download | chromium_src-4875dd23b3b870a1261bdc85a00b3e56ca0a7b94.zip chromium_src-4875dd23b3b870a1261bdc85a00b3e56ca0a7b94.tar.gz chromium_src-4875dd23b3b870a1261bdc85a00b3e56ca0a7b94.tar.bz2 |
Disk cache: Remove the request throttling experiment.
This is intended for the beta/stable branch.
BUG=none
TEST=none
TBR=gavinp
Review URL: http://codereview.chromium.org/3788002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62645 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache')
-rw-r--r-- | net/disk_cache/backend_impl.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc index e02b79d..adffbc7 100644 --- a/net/disk_cache/backend_impl.cc +++ b/net/disk_cache/backend_impl.cc @@ -174,12 +174,7 @@ bool SetFieldTrialInfo(int size_group) { std::string group1 = base::StringPrintf("CacheSizeGroup_%d", size_group); trial1->AppendGroup(group1, base::FieldTrial::kAllRemainingProbability); - scoped_refptr<base::FieldTrial> trial2 = - new base::FieldTrial("CacheThrottle", 100); - int group2a = trial2->AppendGroup("CacheThrottle_On", 10); // 10 % in. - trial2->AppendGroup("CacheThrottle_Off", 10); // 10 % control. - - return trial2->group() == group2a; + return false; } // ------------------------------------------------------------------------ @@ -1214,10 +1209,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; |