Index: chrome/browser/chrome_browser_main.cc |
=================================================================== |
--- chrome/browser/chrome_browser_main.cc (revision 127896) |
+++ chrome/browser/chrome_browser_main.cc (working copy) |
@@ -267,6 +267,15 @@ |
if (parsed_command_line.HasSwitch(switches::kEnableHttpPipelining)) |
net::HttpStreamFactory::set_http_pipelining_enabled(true); |
+ if (parsed_command_line.HasSwitch(switches::kEnableSPDY3)) { |
willchan no longer on Chromium
2012/03/21 16:15:32
How does this command line flag interact with the
ramant (doing other things)
2012/03/21 18:46:36
If --use-sdy=off, then enable-spdy3 is ignored.
C
willchan no longer on Chromium
2012/03/21 23:01:55
What about --use-spdy=v3? or --use-spdy=flow-contr
|
+ std::vector<std::string> next_protos; |
+ next_protos.push_back("http/1.1"); |
+ next_protos.push_back("spdy/2"); |
+ next_protos.push_back("spdy/2.1"); |
+ next_protos.push_back("spdy/3"); |
+ net::HttpStreamFactory::SetNextProtos(next_protos); |
+ } |
+ |
if (parsed_command_line.HasSwitch(switches::kTestingFixedHttpPort)) { |
int value; |
base::StringToInt( |