Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Unified Diff: net/http/http_cache.h

Issue 356953003: Adding DiskBasedCertCache to HttpCache (+UMA). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@current
Patch Set: Fixed issues (remembered to compile). Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/http/http_cache.cc » ('j') | net/http/http_cache_transaction.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_cache.h
diff --git a/net/http/http_cache.h b/net/http/http_cache.h
index 752b98a6715b0f9c66030d4a9e143fb90d9b522e..5bdda8a1f9c89a1d18f71c920183c8bd69c4c188 100644
--- a/net/http/http_cache.h
+++ b/net/http/http_cache.h
@@ -44,6 +44,7 @@ class Entry;
namespace net {
class CertVerifier;
+class DiskBasedCertCache;
class HostResolver;
class HttpAuthHandlerFactory;
class HttpNetworkSession;
@@ -142,6 +143,8 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
HttpTransactionFactory* network_layer() { return network_layer_.get(); }
+ DiskBasedCertCache* cert_cache() const { return cert_cache_.get(); }
+
// 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_;
« no previous file with comments | « no previous file | net/http/http_cache.cc » ('j') | net/http/http_cache_transaction.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698