summaryrefslogtreecommitdiffstats
path: root/net/disk_cache
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-31 22:06:18 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-31 22:06:18 +0000
commit05ca1d9dddd080f946b400654d4916ab27eea830 (patch)
treecab0d686c9cac03ce2574c3668d8d7eee44476c0 /net/disk_cache
parent25ce75d23f5cdab0860933915ab6122507afe0e3 (diff)
downloadchromium_src-05ca1d9dddd080f946b400654d4916ab27eea830.zip
chromium_src-05ca1d9dddd080f946b400654d4916ab27eea830.tar.gz
chromium_src-05ca1d9dddd080f946b400654d4916ab27eea830.tar.bz2
Disk cache: Don't check the list of entries at startup.
This is intended for the beta channel. BUG=130443 TEST=none Review URL: https://chromiumcodereview.appspot.com/10446092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139886 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache')
-rw-r--r--net/disk_cache/backend_impl.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc
index 8ed1a4e..c70763c 100644
--- a/net/disk_cache/backend_impl.cc
+++ b/net/disk_cache/backend_impl.cc
@@ -486,9 +486,6 @@ int BackendImpl::SyncInit() {
disabled_ = !rankings_.Init(this, new_eviction_);
- if (!disabled_ && !(user_flags_ & kNoRandom) && base::RandInt(0, 99) < 2)
- rankings_.SelfCheck(); // Ignore return value for now.
-
#if defined(STRESS_CACHE_EXTENDED_VALIDATION)
trace_object_->EnableTracing(false);
int sc = SelfCheck();