summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-10 22:53:51 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-10 22:53:51 +0000
commit675044d3f39c5d4022e5d7e8ac0037823add1163 (patch)
tree971f35cc4585810f9e522055686101321877583f
parent62295682062e5e5b209360ab321d9121f3e2e105 (diff)
downloadchromium_src-675044d3f39c5d4022e5d7e8ac0037823add1163.zip
chromium_src-675044d3f39c5d4022e5d7e8ac0037823add1163.tar.gz
chromium_src-675044d3f39c5d4022e5d7e8ac0037823add1163.tar.bz2
Merge 68899 - Disk cache: Remove the request throttling experiment.
This is intended for the beta/stable branch. BUG=none TEST=none Review URL: http://codereview.chromium.org/5628006 TBR=rvargas@google.com Review URL: http://codereview.chromium.org/5712004 git-svn-id: svn://svn.chromium.org/chrome/branches/597/src@68901 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--net/disk_cache/backend_impl.cc11
1 files changed, 1 insertions, 10 deletions
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc
index 5cada55..d51ad86 100644
--- a/net/disk_cache/backend_impl.cc
+++ b/net/disk_cache/backend_impl.cc
@@ -179,12 +179,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;
}
// ------------------------------------------------------------------------
@@ -1219,10 +1214,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;