summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main.cc
diff options
context:
space:
mode:
authorcbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-27 16:35:26 +0000
committercbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-27 16:35:26 +0000
commit0f86277de42193b543d0b33e4c82c750f0642141 (patch)
tree58b2076b92aa4f6ba0f15a7070ab408b8e637f62 /chrome/browser/browser_main.cc
parent66ca9af0f309c6bf792523bac9434401c4039f14 (diff)
downloadchromium_src-0f86277de42193b543d0b33e4c82c750f0642141.zip
chromium_src-0f86277de42193b543d0b33e4c82c750f0642141.tar.gz
chromium_src-0f86277de42193b543d0b33e4c82c750f0642141.tar.bz2
Remove --testing-fixed-http-port and --testing-fixed-https-port.
--host-rules seems like a reasonable enough substitute for these two command line flags, and removing them will simplifies the fairly complicated URL rewrite logic in HttpNetworkTransaction. BUG=None TEST=built and ran net_unittests Review URL: http://codereview.chromium.org/3041019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53790 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_main.cc')
-rw-r--r--chrome/browser/browser_main.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index aaeeb08..acda12e 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -415,16 +415,6 @@ void InitializeNetworkOptions(const CommandLine& parsed_command_line) {
net::CookieMonster::EnableFileScheme();
}
- if (parsed_command_line.HasSwitch(switches::kFixedHttpPort)) {
- net::HttpNetworkSession::set_fixed_http_port(StringToInt(
- parsed_command_line.GetSwitchValueASCII(switches::kFixedHttpPort)));
- }
-
- if (parsed_command_line.HasSwitch(switches::kFixedHttpsPort)) {
- net::HttpNetworkSession::set_fixed_https_port(StringToInt(
- parsed_command_line.GetSwitchValueASCII(switches::kFixedHttpsPort)));
- }
-
if (parsed_command_line.HasSwitch(switches::kIgnoreCertificateErrors))
net::HttpNetworkTransaction::IgnoreCertificateErrors(true);