Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(479)

Unified Diff: chrome/browser/browser_main.cc

Issue 3041019: Remove --testing-fixed-http-port and --testing-fixed-https-port. (Closed)
Patch Set: Remove use of --testing-fixed-http-port and --testing-fixed-https-port Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_main.cc
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index 7d645fe9fa174e737fbafbc0dc508aa0d6efb5c9..990ffecbbc59509b16a18bfb5e59dbd6683a08ea 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -386,16 +386,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);
« no previous file with comments | « no previous file | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698