Index: net/http/http_pipelined_connection_impl.h |
diff --git a/net/http/http_pipelined_connection_impl.h b/net/http/http_pipelined_connection_impl.h |
index e09c3f9dbcc5f98fa44880f49a709308cb8951bc..62cfb966dec3aa303a7f52eec82e75b125202a04 100644 |
--- a/net/http/http_pipelined_connection_impl.h |
+++ b/net/http/http_pipelined_connection_impl.h |
@@ -46,6 +46,24 @@ class SSLInfo; |
class NET_EXPORT_PRIVATE HttpPipelinedConnectionImpl |
: public HttpPipelinedConnection { |
public: |
+ class Factory : public HttpPipelinedConnection::Factory { |
+ public: |
+ virtual HttpPipelinedConnection* CreateNewPipeline( |
+ ClientSocketHandle* connection, |
+ HttpPipelinedConnection::Delegate* delegate, |
+ const HostPortPair& origin, |
+ const SSLConfig& used_ssl_config, |
+ const ProxyInfo& used_proxy_info, |
+ const BoundNetLog& net_log, |
+ bool was_npn_negotiated, |
+ SSLClientSocket::NextProto protocol_negotiated) OVERRIDE { |
+ return new HttpPipelinedConnectionImpl(connection, delegate, origin, |
+ used_ssl_config, used_proxy_info, |
+ net_log, was_npn_negotiated, |
+ protocol_negotiated); |
+ } |
+ }; |
+ |
HttpPipelinedConnectionImpl(ClientSocketHandle* connection, |
Delegate* delegate, |
const HostPortPair& origin, |