Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index 316066724b3dc90a8e5131cc397983c7ad58a836..62917f7b9a3f99a3cb9f82c3569516157e77c214 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -208,13 +208,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); |
@@ -238,27 +231,6 @@ void InitializeNetworkOptions(const CommandLine& parsed_command_line) { |
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); |
- } |
- |
bool used_spdy_switch = false; |
if (parsed_command_line.HasSwitch(switches::kUseSpdy)) { |
std::string spdy_mode = |