summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_info.h
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-25 01:38:43 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-25 01:38:43 +0000
commit733b7a6d83ad1c1394408f1c089cee2068135d44 (patch)
treeb1ef08e4d72977d440a63045dfff94047b063ee4 /net/proxy/proxy_info.h
parent7a7a13b4d8ff1e790da262addcdeb84232539ebe (diff)
downloadchromium_src-733b7a6d83ad1c1394408f1c089cee2068135d44.zip
chromium_src-733b7a6d83ad1c1394408f1c089cee2068135d44.tar.gz
chromium_src-733b7a6d83ad1c1394408f1c089cee2068135d44.tar.bz2
Make sure the key into the spdy session pool identifies the actual proxy used, and not the full list of possible proxies for the URL.
BUG=52668 TEST=SpdyNetworkTransactionTest.DirectConnectProxyReconnect Review URL: http://codereview.chromium.org/3192011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57274 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_info.h')
-rw-r--r--net/proxy/proxy_info.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/proxy/proxy_info.h b/net/proxy/proxy_info.h
index 69c87c8..d6a891f 100644
--- a/net/proxy/proxy_info.h
+++ b/net/proxy/proxy_info.h
@@ -77,7 +77,7 @@ class ProxyInfo {
// Returns the first valid proxy server. is_empty() must be false to be able
// to call this function.
- ProxyServer proxy_server() const { return proxy_list_.Get(); }
+ const ProxyServer& proxy_server() const { return proxy_list_.Get(); }
// See description in ProxyList::ToPacString().
std::string ToPacString() const;