Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index 294e8ab018b1577e20f1ca6fd672040c8e840bf9..0d87d2cc194649a40ec7858d9c825d7b5abc4a5d 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -288,6 +288,9 @@ void InitializeNetworkOptions(const CommandLine& parsed_command_line) { |
// Enable WebSocket over SPDY. |
net::WebSocketJob::set_websocket_over_spdy_enabled(true); |
} |
+ |
+ if (parsed_command_line.HasSwitch(switches::kEnableHttpPipelining)) |
+ net::HttpStreamFactory::set_http_pipelining_enabled(true); |
} |
void InitializeURLRequestThrottlerManager(net::NetLog* net_log) { |