| Index: net/http/http_cache.h
|
| diff --git a/net/http/http_cache.h b/net/http/http_cache.h
|
| index dd9d0cdfcae36cfcbff10cbbeacc6874179768c9..250f81ce4fe3463f3f154632b72e9d305a6533f9 100644
|
| --- a/net/http/http_cache.h
|
| +++ b/net/http/http_cache.h
|
| @@ -138,7 +138,8 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
|
| // destroyed.
|
| HttpCache(HttpTransactionFactory* network_layer,
|
| NetLog* net_log,
|
| - BackendFactory* backend_factory);
|
| + BackendFactory* backend_factory,
|
| + bool setup_network_session);
|
|
|
| virtual ~HttpCache();
|
|
|
| @@ -354,6 +355,10 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
|
| bool RemovePendingTransactionFromPendingOp(PendingOp* pending_op,
|
| Transaction* trans);
|
|
|
| + // Instantiates and sets QUIC server info factory. Should be invoked only
|
| + // once for every network session.
|
| + void SetupNetworkSession(HttpNetworkSession* session);
|
| +
|
| // Resumes processing the pending list of |entry|.
|
| void ProcessPendingQueue(ActiveEntry* entry);
|
|
|
| @@ -389,7 +394,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_;
|
|
|
|
|