summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/disk_cache_test_util.cc
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-29 18:21:34 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-29 18:21:34 +0000
commit813149f8eae2381d0e788c611035574fbb1fd4c1 (patch)
tree6e281c1176ad1246b56d73de76e283b9fb009bce /net/disk_cache/disk_cache_test_util.cc
parentecf100830533911b799a5806d69f1cc0bd5d91e3 (diff)
downloadchromium_src-813149f8eae2381d0e788c611035574fbb1fd4c1.zip
chromium_src-813149f8eae2381d0e788c611035574fbb1fd4c1.tar.gz
chromium_src-813149f8eae2381d0e788c611035574fbb1fd4c1.tar.bz2
Disk cache: End the experiment and use the new eviction
algorithm by default. BUG=none TEST=none Review URL: http://codereview.chromium.org/248022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27514 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/disk_cache_test_util.cc')
-rw-r--r--net/disk_cache/disk_cache_test_util.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/disk_cache/disk_cache_test_util.cc b/net/disk_cache/disk_cache_test_util.cc
index 24c3925..a1afb1e 100644
--- a/net/disk_cache/disk_cache_test_util.cc
+++ b/net/disk_cache/disk_cache_test_util.cc
@@ -83,6 +83,7 @@ bool CheckCacheIntegrity(const std::wstring& path, bool new_eviction) {
return false;
if (new_eviction)
cache->SetNewEviction();
+ cache->SetFlags(disk_cache::kNoRandom);
if (!cache->Init())
return false;
return cache->SelfCheck() >= 0;