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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 7289006: Basic HTTP pipelining support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplify transaction unit tests Created 9 years, 3 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
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) {

Powered by Google App Engine
This is Rietveld 408576698