Index: net/spdy/spdy_test_util_common.h |
diff --git a/net/spdy/spdy_test_util_common.h b/net/spdy/spdy_test_util_common.h |
index 8cb2dd05d06ffa37e5006853d7f2f1c6199f17d8..5364fe3a236c9211f4862f49894c0da564bc3fd7 100644 |
--- a/net/spdy/spdy_test_util_common.h |
+++ b/net/spdy/spdy_test_util_common.h |
@@ -193,9 +193,9 @@ |
~SpdySessionDependencies(); |
- static scoped_ptr<HttpNetworkSession> SpdyCreateSession( |
+ static HttpNetworkSession* SpdyCreateSession( |
SpdySessionDependencies* session_deps); |
- static scoped_ptr<HttpNetworkSession> SpdyCreateSessionDeterministic( |
+ static HttpNetworkSession* SpdyCreateSessionDeterministic( |
SpdySessionDependencies* session_deps); |
static HttpNetworkSession::Params CreateSessionParams( |
SpdySessionDependencies* session_deps); |
@@ -243,7 +243,7 @@ |
// session pool in |http_session|. A SPDY session for |key| must not |
// already exist. |
base::WeakPtr<SpdySession> CreateInsecureSpdySession( |
- HttpNetworkSession* http_session, |
+ const scoped_refptr<HttpNetworkSession>& http_session, |
const SpdySessionKey& key, |
const BoundNetLog& net_log); |
@@ -252,14 +252,14 @@ |
// not already exist. The session will be created but close in the |
// next event loop iteration. |
base::WeakPtr<SpdySession> TryCreateInsecureSpdySessionExpectingFailure( |
- HttpNetworkSession* http_session, |
+ const scoped_refptr<HttpNetworkSession>& http_session, |
const SpdySessionKey& key, |
Error expected_error, |
const BoundNetLog& net_log); |
// Like CreateInsecureSpdySession(), but uses TLS. |
base::WeakPtr<SpdySession> CreateSecureSpdySession( |
- HttpNetworkSession* http_session, |
+ const scoped_refptr<HttpNetworkSession>& http_session, |
const SpdySessionKey& key, |
const BoundNetLog& net_log); |