Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Unified Diff: net/quic/test_tools/mock_crypto_client_stream.h

Issue 2766603004: QUIC: mark QUIC handshake failed if connection is closed after CryptoConnect (Closed)
Patch Set: Test retrying requests won't hang in QuicStreamFactoryTest Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..c89df1dc86ad992dea89ec2229225caf7429ff7c 100644
--- a/net/quic/test_tools/mock_crypto_client_stream.h
+++ b/net/quic/test_tools/mock_crypto_client_stream.h
@@ -35,6 +35,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(

Powered by Google App Engine
This is Rietveld 408576698