diff options
Diffstat (limited to 'net/disk_cache/backend_impl.h')
-rw-r--r-- | net/disk_cache/backend_impl.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/net/disk_cache/backend_impl.h b/net/disk_cache/backend_impl.h index 8d529d3..c637791 100644 --- a/net/disk_cache/backend_impl.h +++ b/net/disk_cache/backend_impl.h @@ -17,6 +17,7 @@ #include "net/disk_cache/in_flight_backend_io.h" #include "net/disk_cache/rankings.h" #include "net/disk_cache/stats.h" +#include "net/disk_cache/stress_support.h" #include "net/disk_cache/trace.h" namespace net { @@ -127,6 +128,14 @@ class NET_EXPORT_PRIVATE BackendImpl : public Backend { // Permanently deletes an entry, but still keeps track of it. void InternalDoomEntry(EntryImpl* entry); +#if defined(NET_BUILD_STRESS_CACHE) + // Returns the address of the entry linked to the entry at a given |address|. + CacheAddr GetNextAddr(Addr address); + + // Verifies that |entry| is not currently reachable through the index. + void NotLinked(EntryImpl* entry); +#endif + // Removes all references to this entry. void RemoveEntry(EntryImpl* entry); |