summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/backend_impl.cc
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-18 18:54:52 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-18 18:54:52 +0000
commit1849d01a855914348bbdc07c7674764daf549358 (patch)
tree432d2a804daa8424703d394dc3a89e662b1e3aa4 /net/disk_cache/backend_impl.cc
parentd6a612019430c62642db846393dbab1e9d4c7869 (diff)
downloadchromium_src-1849d01a855914348bbdc07c7674764daf549358.zip
chromium_src-1849d01a855914348bbdc07c7674764daf549358.tar.gz
chromium_src-1849d01a855914348bbdc07c7674764daf549358.tar.bz2
Disk cache: First implementation of TrimDeleted() and a few
other fixes related to the new eviction code. As before, almost everything is disabled by default. Review URL: http://codereview.chromium.org/48112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11995 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/backend_impl.cc')
-rw-r--r--net/disk_cache/backend_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc
index 9f560cc..885f1db 100644
--- a/net/disk_cache/backend_impl.cc
+++ b/net/disk_cache/backend_impl.cc
@@ -641,7 +641,7 @@ void BackendImpl::RemoveEntry(EntryImpl* entry) {
if (!new_eviction_)
return;
- DCHECK(ENTRY_DOOMED == entry->entry()->Data()->state);
+ DCHECK(ENTRY_NORMAL != entry->entry()->Data()->state);
Trace("Remove entry 0x%p", entry);
eviction_.OnDestroyEntry(entry);