Index: chrome/browser/browser_main.cc |
=================================================================== |
--- chrome/browser/browser_main.cc (revision 80449) |
+++ chrome/browser/browser_main.cc (working copy) |
@@ -232,6 +232,13 @@ |
if (parsed_command_line().HasSwitch(switches::kEnableTcpFastOpen)) |
net::set_tcp_fastopen_enabled(true); |
+ // Use SCTP transport protocol |
+ if (parsed_command_line().HasSwitch(switches::kUseSctp)) { |
+ std::string sctp_mode = |
+ parsed_command_line().GetSwitchValueASCII(switches::kUseSctp); |
+ net::HttpNetworkLayer::EnableSctp(sctp_mode); |
+ } |
+ |
PostEarlyInitialization(); |
} |