diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-20 18:22:07 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-20 18:22:07 +0000 |
commit | 940ca569445f042f66563ed66c2859e1b8ac1879 (patch) | |
tree | 03d5eca6aaca2cd96d1fd1b915671a33ddc62483 /net/disk_cache | |
parent | 08f8da58bcdc4f45a1968ad19a7d2d0e427ffab1 (diff) | |
download | chromium_src-940ca569445f042f66563ed66c2859e1b8ac1879.zip chromium_src-940ca569445f042f66563ed66c2859e1b8ac1879.tar.gz chromium_src-940ca569445f042f66563ed66c2859e1b8ac1879.tar.bz2 |
Disk cache: Disable checking the lists on start-up.
This cl is intended for the beta channel.
BUG=143743
TEST=none
TBR=gavinp@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10837341
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152360 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache')
-rw-r--r-- | net/disk_cache/backend_impl.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc index 1fd92a1..3474e37 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(); |