| Index: net/quic/test_tools/mock_crypto_client_stream.h
|
| diff --git a/net/quic/test_tools/mock_crypto_client_stream.h b/net/quic/test_tools/mock_crypto_client_stream.h
|
| index 7c8b9fb109998f7f0f3474b0730883c76819e132..ffec4aa527af99b459fb1ed9f70acd44cdf658fe 100644
|
| --- a/net/quic/test_tools/mock_crypto_client_stream.h
|
| +++ b/net/quic/test_tools/mock_crypto_client_stream.h
|
| @@ -20,6 +20,8 @@ namespace net {
|
|
|
| class MockCryptoClientStream : public QuicCryptoClientStream {
|
| public:
|
| + // TODO(zhongyi): might consider move HandshakeMode up to
|
| + // MockCryptoClientStreamFactory.
|
| // HandshakeMode enumerates the handshake mode MockCryptoClientStream should
|
| // mock in CryptoConnect.
|
| enum HandshakeMode {
|
| @@ -35,6 +37,11 @@ class MockCryptoClientStream : public QuicCryptoClientStream {
|
| // COLD_START indicates that CryptoConnect will neither establish encryption
|
| // nor confirm the handshake
|
| COLD_START,
|
| +
|
| + // USE_DEFAULT_CRYPTO_STREAM indicates that MockCryptoClientStreamFactory
|
| + // will create a QuicCryptoClientStream instead of a
|
| + // MockCryptoClientStream.
|
| + USE_DEFAULT_CRYPTO_STREAM,
|
| };
|
|
|
| MockCryptoClientStream(
|
|
|