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 668a7e84dc81804eb7cd4bd47da908b8ea538f7f..42b595b68956ed00f68288c9ed13d2c81cc42da4 100644 |
--- a/net/spdy/spdy_test_util_common.h |
+++ b/net/spdy/spdy_test_util_common.h |
@@ -247,9 +247,8 @@ |
// Tries to create a SPDY session for the given key but expects the |
// attempt to fail with the given error. A SPDY session for |key| must |
-// not already exist. The session will be created but close in the |
-// next event loop iteration. |
-base::WeakPtr<SpdySession> TryCreateInsecureSpdySessionExpectingFailure( |
+// not already exist. |
+void TryCreateInsecureSpdySessionExpectingFailure( |
const scoped_refptr<HttpNetworkSession>& http_session, |
const SpdySessionKey& key, |
Error expected_error, |
@@ -270,12 +269,10 @@ |
// Tries to create an insecure SPDY session for the given key but |
// expects the attempt to fail with the given error. The session will |
// neither receive nor send any data. A SPDY session for |key| must |
-// not already exist. The session will be created but close in the |
-// next event loop iteration. |
-base::WeakPtr<SpdySession> TryCreateFakeSpdySessionExpectingFailure( |
- SpdySessionPool* pool, |
- const SpdySessionKey& key, |
- Error expected_error); |
+// not already exist. |
+void TryCreateFakeSpdySessionExpectingFailure(SpdySessionPool* pool, |
+ const SpdySessionKey& key, |
+ Error expected_error); |
class SpdySessionPoolPeer { |
public: |