From 0f86277de42193b543d0b33e4c82c750f0642141 Mon Sep 17 00:00:00 2001 From: "cbentzel@chromium.org" Date: Tue, 27 Jul 2010 16:35:26 +0000 Subject: 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 --- net/http/http_network_session.cc | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'net/http/http_network_session.cc') diff --git a/net/http/http_network_session.cc b/net/http/http_network_session.cc index 971786a..05690af 100644 --- a/net/http/http_network_session.cc +++ b/net/http/http_network_session.cc @@ -30,9 +30,6 @@ int g_max_sockets_per_group = 6; // http://crbug.com/44501 for details about proxy server connection limits. int g_max_sockets_per_proxy_server = 32; -uint16 g_fixed_http_port = 0; -uint16 g_fixed_https_port = 0; - } // namespace HttpNetworkSession::HttpNetworkSession( @@ -148,24 +145,4 @@ void HttpNetworkSession::set_max_sockets_per_group(int socket_count) { g_max_sockets_per_group = socket_count; } -// static -uint16 HttpNetworkSession::fixed_http_port() { - return g_fixed_http_port; -} - -// static -void HttpNetworkSession::set_fixed_http_port(uint16 port) { - g_fixed_http_port = port; -} - -// static -uint16 HttpNetworkSession::fixed_https_port() { - return g_fixed_https_port; -} - -// static -void HttpNetworkSession::set_fixed_https_port(uint16 port) { - g_fixed_https_port = port; -} - } // namespace net -- cgit v1.1