Index: net/http/http_stream_factory_impl.h |
diff --git a/net/http/http_stream_factory_impl.h b/net/http/http_stream_factory_impl.h |
index ce1a04eb4cc488d3fcbf458d828793a8a6c2d2ae..8f13f3fcd4c3186ad0463c8315662bdedd8a3601 100644 |
--- a/net/http/http_stream_factory_impl.h |
+++ b/net/http/http_stream_factory_impl.h |
@@ -21,12 +21,14 @@ class HttpNetworkSession; |
class HttpPipelinedHost; |
class SpdySession; |
-class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory { |
+class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : |
+ public HttpStreamFactory, |
+ public HttpPipelinedHostPool::Delegate { |
public: |
explicit HttpStreamFactoryImpl(HttpNetworkSession* session); |
virtual ~HttpStreamFactoryImpl(); |
- // HttpStreamFactory Interface |
+ // HttpStreamFactory interface |
virtual HttpStreamRequest* RequestStream( |
const HttpRequestInfo& info, |
const SSLConfig& server_ssl_config, |
@@ -42,10 +44,9 @@ class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory { |
virtual void AddTLSIntolerantServer(const HostPortPair& server) OVERRIDE; |
virtual bool IsTLSIntolerantServer(const HostPortPair& server) const OVERRIDE; |
- // Called when a HttpPipelinedHost has new capacity. Attempts to allocate any |
- // pending pipeline-capable requests to pipelines. |
+ // HttpPipelinedHostPool::Delegate interface |
virtual void OnHttpPipelinedHostHasAdditionalCapacity( |
- const HostPortPair& origin); |
+ const HostPortPair& origin) OVERRIDE; |
private: |
class Request; |