summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/eviction.h
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2011-11-01 18:10:25 +0000
committerKristian Monsen <kristianm@google.com>2011-11-02 11:47:20 +0000
commitae2796cabb52f6a27c50818b78107d3ebc858e0c (patch)
tree0cadef3e3ea102f04b2e26c212b089dfd69a0fc2 /net/disk_cache/eviction.h
parentea380985f4dd3c72953f7df161674e1644d6de90 (diff)
downloadexternal_chromium-ae2796cabb52f6a27c50818b78107d3ebc858e0c.zip
external_chromium-ae2796cabb52f6a27c50818b78107d3ebc858e0c.tar.gz
external_chromium-ae2796cabb52f6a27c50818b78107d3ebc858e0c.tar.bz2
Part of fix for bug 5523834, backporting cache fixes
Cherry-picking CL http://src.chromium.org/viewvc/chrome?view=rev&revision=103323 Did not cherry-pick the changes in trunk/src/net/disk_cache/backend_unittest.cc as we are not running the tests on Android. Change-Id: I4e04bf061bdb6746030f3a93501cff9b384c58df
Diffstat (limited to 'net/disk_cache/eviction.h')
-rw-r--r--net/disk_cache/eviction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/eviction.h b/net/disk_cache/eviction.h
index dd69b71..dbf87c3 100644
--- a/net/disk_cache/eviction.h
+++ b/net/disk_cache/eviction.h
@@ -50,7 +50,7 @@ class Eviction {
bool ShouldTrim();
void ReportTrimTimes(EntryImpl* entry);
Rankings::List GetListForEntry(EntryImpl* entry);
- bool EvictEntry(CacheRankingsBlock* node, bool empty);
+ bool EvictEntry(CacheRankingsBlock* node, bool empty, Rankings::List list);
// We'll just keep for a while a separate set of methods that implement the
// new eviction algorithm. This code will replace the original methods when