From ae2796cabb52f6a27c50818b78107d3ebc858e0c Mon Sep 17 00:00:00 2001 From: Kristian Monsen Date: Tue, 1 Nov 2011 18:10:25 +0000 Subject: 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 --- net/disk_cache/eviction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/disk_cache/eviction.h') 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 -- cgit v1.1