diff options
Diffstat (limited to 'net/http/http_cache.h')
-rw-r--r-- | net/http/http_cache.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/http/http_cache.h b/net/http/http_cache.h index 177bdc7..2f1513d 100644 --- a/net/http/http_cache.h +++ b/net/http/http_cache.h @@ -145,6 +145,9 @@ class HttpCache : public HttpTransactionFactory, // receives the |backend| must remain valid until the operation completes. int GetBackend(disk_cache::Backend** backend, CompletionCallback* callback); + // Returns the current backend (can be NULL). + disk_cache::Backend* GetCurrentBackend(); + // HttpTransactionFactory implementation: virtual int CreateTransaction(scoped_ptr<HttpTransaction>* trans); virtual HttpCache* GetCache(); |