From 0f86277de42193b543d0b33e4c82c750f0642141 Mon Sep 17 00:00:00 2001
From: "cbentzel@chromium.org"
 <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
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/spdy/spdy_network_transaction.cc | 9 ---------
 1 file changed, 9 deletions(-)

(limited to 'net/spdy')

diff --git a/net/spdy/spdy_network_transaction.cc b/net/spdy/spdy_network_transaction.cc
index fa8ba58..6e0c930 100644
--- a/net/spdy/spdy_network_transaction.cc
+++ b/net/spdy/spdy_network_transaction.cc
@@ -221,15 +221,6 @@ int SpdyNetworkTransaction::DoInitConnection() {
   std::string host = request_->url.HostNoBrackets();
   int port = request_->url.EffectiveIntPort();
 
-  // Use the fixed testing ports if they've been provided.  This is useful for
-  // debugging.
-  if (SpdySession::SSLMode()) {
-    if (session_->fixed_https_port() != 0)
-      port = session_->fixed_https_port();
-  } else if (session_->fixed_http_port() != 0) {
-    port = session_->fixed_http_port();
-  }
-
   std::string connection_group = "spdy.";
   HostPortPair host_port_pair(host, port);
   connection_group.append(host_port_pair.ToString());
-- 
cgit v1.1