HomeSort by relevance Sort by last modified time
    Searched refs:Eviction (Results 1 - 3 of 3) sorted by null

  /external/chromium/net/disk_cache/
eviction.h 19 // This class implements the eviction algorithm for the cache and it is tightly
21 class Eviction {
23 Eviction() : backend_(NULL), ALLOW_THIS_IN_INITIALIZER_LIST(factory_(this)) {}
24 ~Eviction() {}
50 // new eviction algorithm. This code will replace the original methods when
74 ScopedRunnableMethodFactory<Eviction> factory_;
76 DISALLOW_COPY_AND_ASSIGN(Eviction);
eviction.cc 5 // The eviction policy is a very simple pure LRU, so the elements at the end of
10 // The new (in-development) eviction policy ads re-use as a factor to evict
29 #include "net/disk_cache/eviction.h"
59 void Eviction::Init(BackendImpl* backend) {
72 void Eviction::TrimCache(bool empty) {
107 factory_.NewRunnableMethod(&Eviction::TrimCache, false));
120 void Eviction::UpdateRank(EntryImpl* entry, bool modified) {
127 void Eviction::OnOpenEntry(EntryImpl* entry) {
132 void Eviction::OnCreateEntry(EntryImpl* entry) {
139 void Eviction::OnDoomEntry(EntryImpl* entry)
    [all...]
backend_impl.h 15 #include "net/disk_cache/eviction.h"
28 kNewEviction = 1 << 4, // Use of new eviction was specified.
36 friend class Eviction;
193 // Sets the eviction algorithm to version 2.
285 Eviction eviction_; // Handler of the eviction algorithm.
298 bool new_eviction_; // What eviction algorithm should be used.

Completed in 3159 milliseconds