diff options
author | kristianm@google.com <kristianm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-14 19:02:43 +0000 |
---|---|---|
committer | kristianm@google.com <kristianm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-14 19:02:43 +0000 |
commit | c933965b0974d3bd8b090b12766520c0878502a0 (patch) | |
tree | 1e3e91b92859783f7627d23c25133c4984472b1e /net/http/http_network_transaction_unittest.cc | |
parent | d8b2a3f1837afd62a2a085921babcf3421bfdbb6 (diff) | |
download | chromium_src-c933965b0974d3bd8b090b12766520c0878502a0.zip chromium_src-c933965b0974d3bd8b090b12766520c0878502a0.tar.gz chromium_src-c933965b0974d3bd8b090b12766520c0878502a0.tar.bz2 |
Revert 78034 - Removing a TODO and cleaning up code.
This is done in preparation of a patch to
let some request ignore the max sockets
and max sockets to group limits.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6679001
TBR=kristianm@google.com
Review URL: http://codereview.chromium.org/6685057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78061 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_network_transaction_unittest.cc')
-rw-r--r-- | net/http/http_network_transaction_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/http_network_transaction_unittest.cc b/net/http/http_network_transaction_unittest.cc index 78dbe55..b238f57 100644 --- a/net/http/http_network_transaction_unittest.cc +++ b/net/http/http_network_transaction_unittest.cc @@ -7075,7 +7075,7 @@ TEST_F(HttpNetworkTransactionTest, scoped_refptr<SpdySession> spdy_session = session->spdy_session_pool()->Get(pair, BoundNetLog()); scoped_refptr<TCPSocketParams> tcp_params( - new TCPSocketParams(host_port_pair, MEDIUM, GURL(), false)); + new TCPSocketParams("www.google.com", 443, MEDIUM, GURL(), false)); scoped_ptr<ClientSocketHandle> connection(new ClientSocketHandle); EXPECT_EQ(ERR_IO_PENDING, @@ -8324,7 +8324,7 @@ TEST_F(HttpNetworkTransactionTest, PreconnectWithExistingSpdySession) { scoped_refptr<SpdySession> spdy_session = session->spdy_session_pool()->Get(pair, BoundNetLog()); scoped_refptr<TCPSocketParams> tcp_params( - new TCPSocketParams(host_port_pair, MEDIUM, GURL(), false)); + new TCPSocketParams("www.google.com", 443, MEDIUM, GURL(), false)); TestCompletionCallback callback; scoped_ptr<ClientSocketHandle> connection(new ClientSocketHandle); |