| Index: net/http/http_stream_factory.h
|
| diff --git a/net/http/http_stream_factory.h b/net/http/http_stream_factory.h
|
| index ef78a70e23ad6f4c93670d1d43c9a47275df4de1..c1d79146fecc22a598edc22c9761a83bbc70200c 100644
|
| --- a/net/http/http_stream_factory.h
|
| +++ b/net/http/http_stream_factory.h
|
| @@ -23,6 +23,7 @@ class HostMappingRules;
|
| class HostPortPair;
|
| class HttpAuthController;
|
| class HttpNetworkSession;
|
| +class HttpPipelinedHost;
|
| class HttpResponseInfo;
|
| class HttpServerProperties;
|
| class HttpStream;
|
| @@ -174,6 +175,11 @@ class NET_EXPORT HttpStreamFactory {
|
| virtual void AddTLSIntolerantServer(const HostPortPair& server) = 0;
|
| virtual bool IsTLSIntolerantServer(const HostPortPair& server) const = 0;
|
|
|
| + // Called when a HttpPipelinedHost has new capacity. Attempts to allocate any
|
| + // pending pipeline-capable requests to pipelines.
|
| + virtual void OnHttpPipelinedHostHasAdditionalCapacity(
|
| + const HostPortPair& origin) = 0;
|
| +
|
| // Static settings
|
| static GURL ApplyHostMappingRules(const GURL& url, HostPortPair* endpoint);
|
|
|
| @@ -228,6 +234,11 @@ class NET_EXPORT HttpStreamFactory {
|
|
|
| static void SetHostMappingRules(const std::string& rules);
|
|
|
| + static void set_http_pipelining_enabled(bool value) {
|
| + http_pipelining_enabled_ = value;
|
| + }
|
| + static bool http_pipelining_enabled() { return http_pipelining_enabled_; }
|
| +
|
| protected:
|
| HttpStreamFactory();
|
|
|
| @@ -242,6 +253,7 @@ class NET_EXPORT HttpStreamFactory {
|
| static bool force_spdy_always_;
|
| static std::list<HostPortPair>* forced_spdy_exclusions_;
|
| static bool ignore_certificate_errors_;
|
| + static bool http_pipelining_enabled_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory);
|
| };
|
|
|