diff options
Diffstat (limited to 'net/disk_cache/eviction.h')
-rw-r--r-- | net/disk_cache/eviction.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/disk_cache/eviction.h b/net/disk_cache/eviction.h index 0f5eeb7..26f88fe 100644 --- a/net/disk_cache/eviction.h +++ b/net/disk_cache/eviction.h @@ -40,6 +40,10 @@ class Eviction { void OnDoomEntry(EntryImpl* entry); void OnDestroyEntry(EntryImpl* entry); + // Testing interface. + void SetTestMode(); + void TrimDeletedList(bool empty); + private: void PostDelayedTrim(); void DelayedTrim(); @@ -75,6 +79,7 @@ class Eviction { bool trimming_; bool delay_trim_; bool init_; + bool test_mode_; bool in_experiment_; ScopedRunnableMethodFactory<Eviction> factory_; |