| 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 42b595b68956ed00f68288c9ed13d2c81cc42da4..668a7e84dc81804eb7cd4bd47da908b8ea538f7f 100644
|
| --- a/net/spdy/spdy_test_util_common.h
|
| +++ b/net/spdy/spdy_test_util_common.h
|
| @@ -247,8 +247,9 @@ base::WeakPtr<SpdySession> CreateInsecureSpdySession(
|
|
|
| // 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.
|
| -void TryCreateInsecureSpdySessionExpectingFailure(
|
| +// not already exist. The session will be created but close in the
|
| +// next event loop iteration.
|
| +base::WeakPtr<SpdySession> TryCreateInsecureSpdySessionExpectingFailure(
|
| const scoped_refptr<HttpNetworkSession>& http_session,
|
| const SpdySessionKey& key,
|
| Error expected_error,
|
| @@ -269,10 +270,12 @@ base::WeakPtr<SpdySession> CreateFakeSpdySession(SpdySessionPool* pool,
|
| // 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.
|
| -void TryCreateFakeSpdySessionExpectingFailure(SpdySessionPool* pool,
|
| - const SpdySessionKey& key,
|
| - Error expected_error);
|
| +// 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);
|
|
|
| class SpdySessionPoolPeer {
|
| public:
|
|
|