Index: net/disk_cache/eviction.h |
=================================================================== |
--- net/disk_cache/eviction.h (revision 20196) |
+++ net/disk_cache/eviction.h (working copy) |
@@ -40,6 +40,8 @@ |
void OnDestroyEntry(EntryImpl* entry); |
private: |
+ void PostDelayedTrim(); |
+ void DelayedTrim(); |
void ReportTrimTimes(EntryImpl* entry); |
Rankings::List GetListForEntry(EntryImpl* entry); |
bool EvictEntry(CacheRankingsBlock* node, bool empty); |
@@ -68,6 +70,7 @@ |
bool new_eviction_; |
bool first_trim_; |
bool trimming_; |
+ bool delay_trim_; |
ScopedRunnableMethodFactory<Eviction> factory_; |
DISALLOW_COPY_AND_ASSIGN(Eviction); |