summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_stream_unittest.cc
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-26 00:15:21 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-26 00:15:21 +0000
commit367ead44729ca97c8ed94365b0fe5e24de54fd4f (patch)
treeaa89fb816ddc75519802c65357d41c0a49537747 /net/spdy/spdy_stream_unittest.cc
parentd77ca3edc4b240592b94d3287047386b3ab5470c (diff)
downloadchromium_src-367ead44729ca97c8ed94365b0fe5e24de54fd4f.zip
chromium_src-367ead44729ca97c8ed94365b0fe5e24de54fd4f.tar.gz
chromium_src-367ead44729ca97c8ed94365b0fe5e24de54fd4f.tar.bz2
Fix SpdySessionPool to take a host port pair instead of just the host.
BUG=28595 Review URL: http://codereview.chromium.org/660107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40077 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_stream_unittest.cc')
-rw-r--r--net/spdy/spdy_stream_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/spdy/spdy_stream_unittest.cc b/net/spdy/spdy_stream_unittest.cc
index eb8ca5fc..8911d9a 100644
--- a/net/spdy/spdy_stream_unittest.cc
+++ b/net/spdy/spdy_stream_unittest.cc
@@ -88,9 +88,9 @@ class SpdyStreamTest : public testing::Test {
pool_peer_(session_->spdy_session_pool()) {}
scoped_refptr<SpdySession> CreateSpdySession() {
- HostResolver::RequestInfo resolve_info("www.google.com", 80);
+ HostPortPair host_port_pair("www.google.com", 80);
scoped_refptr<SpdySession> session(
- session_->spdy_session_pool()->Get(resolve_info, session_));
+ session_->spdy_session_pool()->Get(host_port_pair, session_));
return session;
}