diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-18 18:54:52 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-18 18:54:52 +0000 |
commit | 1849d01a855914348bbdc07c7674764daf549358 (patch) | |
tree | 432d2a804daa8424703d394dc3a89e662b1e3aa4 /net/disk_cache/eviction.h | |
parent | d6a612019430c62642db846393dbab1e9d4c7869 (diff) | |
download | chromium_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/eviction.h')
-rw-r--r-- | net/disk_cache/eviction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/disk_cache/eviction.h b/net/disk_cache/eviction.h index 2496357..56b8439 100644 --- a/net/disk_cache/eviction.h +++ b/net/disk_cache/eviction.h @@ -55,6 +55,7 @@ class Eviction { void OnDestroyEntryV2(EntryImpl* entry); Rankings::List GetListForEntryV2(EntryImpl* entry); void TrimDeleted(bool empty); + bool RemoveDeletedNode(CacheRankingsBlock* node); bool NodeIsOldEnough(CacheRankingsBlock* node, int list); int SelectListByLenght(); |