| Index: net/http/http_cache.h
|
| diff --git a/net/http/http_cache.h b/net/http/http_cache.h
|
| index 68347f9a25f41cc5a01a54a9147b7dde72dd959b..7926d5dc69c3a34ebc6bfdb6f602f12a07ad8b2c 100644
|
| --- a/net/http/http_cache.h
|
| +++ b/net/http/http_cache.h
|
| @@ -93,7 +93,11 @@ class HttpCache : public HttpTransactionFactory,
|
| disk_cache::Backend* disk_cache);
|
|
|
| HttpTransactionFactory* network_layer() { return network_layer_.get(); }
|
| - disk_cache::Backend* disk_cache() { return disk_cache_.get(); }
|
| +
|
| + // Returns the cache backend for this HttpCache instance. If the backend
|
| + // is not initialized yet, this method will initialize it. If the return
|
| + // value is NULL then the backend cannot be initialized.
|
| + disk_cache::Backend* GetBackend();
|
|
|
| // HttpTransactionFactory implementation:
|
| virtual int CreateTransaction(scoped_ptr<HttpTransaction>* trans);
|
| @@ -205,7 +209,6 @@ class HttpCache : public HttpTransactionFactory,
|
|
|
| ScopedRunnableMethodFactory<HttpCache> task_factory_;
|
|
|
| - bool in_memory_cache_;
|
| bool enable_range_support_;
|
| int cache_size_;
|
|
|
|
|