summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgroby@chromium.org <groby@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-31 03:25:41 +0000
committergroby@chromium.org <groby@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-31 03:25:41 +0000
commit753657a5e4afe8d5d97420b87f71e1a8206bb6d8 (patch)
treea65be15c5ed5079c06357764d581427c2f70f55c
parenta44776c18ffd78765568649ec912fd0a67363f6e (diff)
downloadchromium_src-753657a5e4afe8d5d97420b87f71e1a8206bb6d8.zip
chromium_src-753657a5e4afe8d5d97420b87f71e1a8206bb6d8.tar.gz
chromium_src-753657a5e4afe8d5d97420b87f71e1a8206bb6d8.tar.bz2
[Coverity] Change pass-by-value to pass-by-ref
CID=102968 TBR=rsleevi@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/9159051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119834 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--net/http/http_proxy_client_socket_pool.cc2
-rw-r--r--net/http/http_proxy_client_socket_pool.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/http/http_proxy_client_socket_pool.cc b/net/http/http_proxy_client_socket_pool.cc
index b4c1eae..7e2d168 100644
--- a/net/http/http_proxy_client_socket_pool.cc
+++ b/net/http/http_proxy_client_socket_pool.cc
@@ -42,7 +42,7 @@ HttpProxySocketParams::HttpProxySocketParams(
const scoped_refptr<SSLSocketParams>& ssl_params,
const GURL& request_url,
const std::string& user_agent,
- HostPortPair endpoint,
+ const HostPortPair& endpoint,
HttpAuthCache* http_auth_cache,
HttpAuthHandlerFactory* http_auth_handler_factory,
SpdySessionPool* spdy_session_pool,
diff --git a/net/http/http_proxy_client_socket_pool.h b/net/http/http_proxy_client_socket_pool.h
index 9e90187..70c8b5c 100644
--- a/net/http/http_proxy_client_socket_pool.h
+++ b/net/http/http_proxy_client_socket_pool.h
@@ -58,7 +58,7 @@ class NET_EXPORT_PRIVATE HttpProxySocketParams
const scoped_refptr<SSLSocketParams>& ssl_params,
const GURL& request_url,
const std::string& user_agent,
- HostPortPair endpoint,
+ const HostPortPair& endpoint,
HttpAuthCache* http_auth_cache,
HttpAuthHandlerFactory* http_auth_handler_factory,
SpdySessionPool* spdy_session_pool,