summaryrefslogtreecommitdiffstats
path: root/net/socket/socket_test_util.h
diff options
context:
space:
mode:
authorvandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 18:25:21 +0000
committervandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 18:25:21 +0000
commitdf4b4ef3ac8829b20b07bca9161865ee4ab469eb (patch)
tree68fb5e575e67e8bbaff0d6ff9db4a14f7514c57f /net/socket/socket_test_util.h
parent9c6527c9d4d289ed4f62194cf116e071b9d49ac9 (diff)
downloadchromium_src-df4b4ef3ac8829b20b07bca9161865ee4ab469eb.zip
chromium_src-df4b4ef3ac8829b20b07bca9161865ee4ab469eb.tar.gz
chromium_src-df4b4ef3ac8829b20b07bca9161865ee4ab469eb.tar.bz2
Make the various SocketParams reference counted.
This is so that the SSLSocketParam can hold one of any of the existing SocketParams. BUG=30357 TEST=existing unit tests Review URL: http://codereview.chromium.org/2848029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52107 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/socket_test_util.h')
-rw-r--r--net/socket/socket_test_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket/socket_test_util.h b/net/socket/socket_test_util.h
index 0824d39..1087dbd 100644
--- a/net/socket/socket_test_util.h
+++ b/net/socket/socket_test_util.h
@@ -569,7 +569,7 @@ class ClientSocketPoolTest : public testing::Test {
int StartRequestUsingPool(const scoped_refptr<PoolType>& socket_pool,
const std::string& group_name,
RequestPriority priority,
- const SocketParams& socket_params) {
+ const scoped_refptr<SocketParams>& socket_params) {
DCHECK(socket_pool.get());
TestSocketRequest* request = new TestSocketRequest(&request_order_,
&completion_count_);