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, |
rvargas (doing something else)
2014/04/29 23:40:45
This constructor is intended for unit tests but it
eustas
2014/05/07 13:47:17
It is possible to remove constructor that takes pa
rvargas (doing something else)
2014/05/07 20:22:57
I don't have an issue with tests using the same co
|
NetLog* net_log, |
- BackendFactory* backend_factory); |
+ BackendFactory* backend_factory, |
+ bool setup_network_session); |
rvargas (doing something else)
2014/04/29 23:40:45
It is not clear how a caller should know what to p
eustas
2014/05/07 13:47:17
Reverted.
|
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); |
rvargas (doing something else)
2014/04/29 23:40:45
If what this does is to configure quick server inf
eustas
2014/05/07 13:47:17
Done.
|
+ |
// 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_; |