Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index f96fef1c2ec4c5ba93adf8e4bca57df4a2a85c9b..5083003107dc2a0d510d3dad2a23f08aeff5e95f 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -207,13 +207,6 @@ void InitializeNetworkOptions(const CommandLine& parsed_command_line) { |
net::CookieMonster::EnableFileScheme(); |
} |
- if (parsed_command_line.HasSwitch(switches::kIgnoreCertificateErrors)) |
- net::HttpStreamFactory::set_ignore_certificate_errors(true); |
- |
- if (parsed_command_line.HasSwitch(switches::kHostRules)) |
- net::HttpStreamFactory::SetHostMappingRules( |
- parsed_command_line.GetSwitchValueASCII(switches::kHostRules)); |
- |
if (parsed_command_line.HasSwitch(switches::kEnableIPPooling)) |
net::SpdySessionPool::enable_ip_pooling(true); |
@@ -233,27 +226,6 @@ 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); |
- |
- if (parsed_command_line.HasSwitch(switches::kTestingFixedHttpPort)) { |
- int value; |
- base::StringToInt( |
- parsed_command_line.GetSwitchValueASCII( |
- switches::kTestingFixedHttpPort), |
- &value); |
- net::HttpStreamFactory::set_testing_fixed_http_port(value); |
- } |
- |
- if (parsed_command_line.HasSwitch(switches::kTestingFixedHttpsPort)) { |
- int value; |
- base::StringToInt( |
- parsed_command_line.GetSwitchValueASCII( |
- switches::kTestingFixedHttpsPort), |
- &value); |
- net::HttpStreamFactory::set_testing_fixed_https_port(value); |
- } |
} |
// Returns the new local state object, guaranteed non-NULL. |