Home
last modified time | relevance | path

Searched refs:Eviction (Results 1 – 3 of 3) sorted by relevance

/external/chromium/net/disk_cache/
Deviction.cc59 void Eviction::Init(BackendImpl* backend) { in Init()
72 void Eviction::TrimCache(bool empty) { in TrimCache()
107 factory_.NewRunnableMethod(&Eviction::TrimCache, false)); in TrimCache()
120 void Eviction::UpdateRank(EntryImpl* entry, bool modified) { in UpdateRank()
127 void Eviction::OnOpenEntry(EntryImpl* entry) { in OnOpenEntry()
132 void Eviction::OnCreateEntry(EntryImpl* entry) { in OnCreateEntry()
139 void Eviction::OnDoomEntry(EntryImpl* entry) { in OnDoomEntry()
146 void Eviction::OnDestroyEntry(EntryImpl* entry) { in OnDestroyEntry()
151 void Eviction::PostDelayedTrim() { in PostDelayedTrim()
157 factory_.NewRunnableMethod(&Eviction::DelayedTrim), 1000); in PostDelayedTrim()
[all …]
Deviction.h21 class Eviction {
23 Eviction() : backend_(NULL), ALLOW_THIS_IN_INITIALIZER_LIST(factory_(this)) {} in Eviction() function
24 ~Eviction() {} in ~Eviction()
74 ScopedRunnableMethodFactory<Eviction> factory_;
76 DISALLOW_COPY_AND_ASSIGN(Eviction);
Dbackend_impl.h36 friend class Eviction; variable
285 Eviction eviction_; // Handler of the eviction algorithm.