| Index: chrome/browser/chrome_browser_main.cc
|
| diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
|
| index 1df4f317a8107b1cb529fd2f62c6ab28447afa64..64c8bd4f038eca6236a515b9d0ba5dee8565bb31 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.
|
|
|