Index: net/http/http_cache.h |
diff --git a/net/http/http_cache.h b/net/http/http_cache.h |
index dd9d0cdfcae36cfcbff10cbbeacc6874179768c9..6a8a1f74624160547cccbda0acf9d54d9f7de3ad 100644 |
--- a/net/http/http_cache.h |
+++ b/net/http/http_cache.h |
@@ -125,17 +125,16 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory, |
HttpCache(const net::HttpNetworkSession::Params& params, |
BackendFactory* backend_factory); |
- // The disk cache is initialized lazily (by CreateTransaction) in this case. |
+ // 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); |
- // Initialize the cache from its component parts, which is useful for |
- // testing. 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. |
+ // 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); |
@@ -354,6 +353,9 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory, |
bool RemovePendingTransactionFromPendingOp(PendingOp* pending_op, |
Transaction* trans); |
+ // Instantiates and sets QUIC server info factory. |
+ void SetupQuicServerInfoFactory(HttpNetworkSession* session); |
+ |
// Resumes processing the pending list of |entry|. |
void ProcessPendingQueue(ActiveEntry* entry); |
@@ -389,7 +391,7 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory, |
Mode mode_; |
- const scoped_ptr<QuicServerInfoFactoryAdaptor> quic_server_info_factory_; |
+ scoped_ptr<QuicServerInfoFactoryAdaptor> quic_server_info_factory_; |
scoped_ptr<HttpTransactionFactory> network_layer_; |