| Index: net/http/http_cache.h
|
| diff --git a/net/http/http_cache.h b/net/http/http_cache.h
|
| index 8784c8a3fd521b308f67264b4e00e657b4b8c560..732a9c09c75b03e5664c0b1f5f73e7a9388a547b 100644
|
| --- a/net/http/http_cache.h
|
| +++ b/net/http/http_cache.h
|
| @@ -124,17 +124,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);
|
| @@ -355,6 +354,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);
|
|
|
| @@ -390,7 +392,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_;
|
|
|
|
|