diff options
Diffstat (limited to 'net/http/http_cache.h')
-rw-r--r-- | net/http/http_cache.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net/http/http_cache.h b/net/http/http_cache.h index af2d83a..70aaf0d 100644 --- a/net/http/http_cache.h +++ b/net/http/http_cache.h @@ -48,7 +48,10 @@ class HttpCache : public HttpTransactionFactory { RECORD, // Playback mode replays from a cache without considering any // standard invalidations. - PLAYBACK + PLAYBACK, + // Disables reads and writes from the cache. + // Equivalent to setting LOAD_DISABLE_CACHE on every request. + DISABLE }; // Initialize the cache from the directory where its data is stored. The @@ -103,6 +106,9 @@ class HttpCache : public HttpTransactionFactory { void set_type(CacheType type) { type_ = type; } CacheType type() { return type_; } + // Close All Idle Sockets. This is for debugging. + void CloseIdleConnections(); + private: // Types -------------------------------------------------------------------- |