Index: net/http/http_cache.h |
diff --git a/net/http/http_cache.h b/net/http/http_cache.h |
index dd9d0cdfcae36cfcbff10cbbeacc6874179768c9..fc3274146bfc7dd6c16190204f292375a60e3ecf 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_netowork_session); |
mmenke
2014/03/31 18:10:20
nit: -o
mmenke
2014/03/31 18:10:20
Hrm...I find the bool really ugly, but I don't see
eustas
2014/04/18 12:33:19
Done.
eustas
2014/04/18 12:33:19
Yeah, that looks really ugly =(
|
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_; |