Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Unified Diff: net/http/http_stream_factory.h

Issue 7289006: Basic HTTP pipelining support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_stream.h ('k') | net/http/http_stream_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_factory.h
diff --git a/net/http/http_stream_factory.h b/net/http/http_stream_factory.h
index 3cbad96e509f29f9dc591d1036a3ea7be0882c6a..31e0cc19b954fe03a1ec399427405d0334557153 100644
--- a/net/http/http_stream_factory.h
+++ b/net/http/http_stream_factory.h
@@ -24,6 +24,7 @@ class HostMappingRules;
class HostPortPair;
class HttpAuthController;
class HttpNetworkSession;
+class HttpPipelinedHost;
class HttpResponseInfo;
class HttpServerProperties;
class HttpStream;
@@ -239,6 +240,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();
@@ -253,6 +259,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);
};
« no previous file with comments | « net/http/http_stream.h ('k') | net/http/http_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698