Chromium Code Reviews| Index: net/http/http_cache.h |
| diff --git a/net/http/http_cache.h b/net/http/http_cache.h |
| index 752b98a6715b0f9c66030d4a9e143fb90d9b522e..7ffec6db856adef4342a5553dfad543dc10efecd 100644 |
| --- a/net/http/http_cache.h |
| +++ b/net/http/http_cache.h |
| @@ -43,6 +43,7 @@ class Entry; |
| namespace net { |
| +class DiskBasedCertCache; |
|
wtc
2014/07/08 00:14:03
List in alphabetical order.
|
| class CertVerifier; |
| class HostResolver; |
| class HttpAuthHandlerFactory; |
| @@ -142,6 +143,8 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory, |
| HttpTransactionFactory* network_layer() { return network_layer_.get(); } |
| + DiskBasedCertCache* CertCache() const { return cert_cache_.get(); } |
|
wtc
2014/07/08 00:14:03
This getter method should be named cert_cache. See
|
| + |
| // Retrieves the cache backend for this HttpCache instance. If the backend |
| // is not initialized yet, this method will initialize it. The return value is |
| // a network error code, and it could be ERR_IO_PENDING, in which case the |
| @@ -405,6 +408,8 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory, |
| scoped_ptr<disk_cache::Backend> disk_cache_; |
| + scoped_ptr<DiskBasedCertCache> cert_cache_; |
| + |
| // The set of active entries indexed by cache key. |
| ActiveEntriesMap active_entries_; |