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

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: address rch's comments 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..4c717cb59eebaa6ced3c69efca4bf702e4b28221 100644
--- a/net/quic/test_tools/mock_crypto_client_stream.h
+++ b/net/quic/test_tools/mock_crypto_client_stream.h
@@ -35,6 +35,10 @@ class MockCryptoClientStream : public QuicCryptoClientStream {
// COLD_START indicates that CryptoConnect will neither establish encryption
// nor confirm the handshake
COLD_START,
+
+ // USE_DEFAULT_CRYPTO indicates that MockCryptoClientStreamFactory will
+ // fallback to use normal QuicCryptoClientStream to do CryptoConnect.
Ryan Hamilton 2017/03/22 14:13:01 nit: // USE_DEFAULT_CRYPTO indicates that MockCry
Zhongyi Shi 2017/03/22 18:53:10 Done.
+ USE_DEFAULT_CRYPTO_STREAM,
};
MockCryptoClientStream(

Powered by Google App Engine
This is Rietveld 408576698