Index: net/http/http_cache.h |
diff --git a/net/http/http_cache.h b/net/http/http_cache.h |
index 026d476e92f0dcfd36c309d07c5016ddfaa04854..286c67087d78377c10026da4794bfcd02d5af8b1 100644 |
--- a/net/http/http_cache.h |
+++ b/net/http/http_cache.h |
@@ -126,23 +126,26 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory, |
static const int kPrefetchReuseMins = 5; |
// The disk cache is initialized lazily (by CreateTransaction) in this case. |
- // The HttpCache takes ownership of the |backend_factory|. |
- HttpCache(const HttpNetworkSession::Params& params, |
- BackendFactory* backend_factory); |
- |
- // The disk cache is initialized lazily (by CreateTransaction) in this case. |
// Provide an existing HttpNetworkSession, the cache can construct a |
// network layer with a shared HttpNetworkSession in order for multiple |
// network layers to share information (e.g. authentication data). The |
// HttpCache takes ownership of the |backend_factory|. |
- HttpCache(HttpNetworkSession* session, BackendFactory* backend_factory); |
+ // |
+ // The HttpCache must be destroyed before the HttpNetworkSession. |
+ // |
+ // If |set_up_quic_server_info| is true, configures the cache to track |
+ // information about servers supporting QUIC. |
+ HttpCache(HttpNetworkSession* session, |
+ BackendFactory* backend_factory, |
+ bool set_up_quic_server_info); |
// Initialize the cache from its component parts. The lifetime of the |
// |network_layer| and |backend_factory| are managed by the HttpCache and |
// will be destroyed using |delete| when the HttpCache is destroyed. |
HttpCache(HttpTransactionFactory* network_layer, |
NetLog* net_log, |
- BackendFactory* backend_factory); |
+ BackendFactory* backend_factory, |
+ bool set_up_quic_server_info); |
~HttpCache() override; |