Index: net/quic/core/quic_crypto_client_stream.h |
diff --git a/net/quic/core/quic_crypto_client_stream.h b/net/quic/core/quic_crypto_client_stream.h |
index 7327f311b72a702621ffdcea6cdcff53c8de0d7e..2b7bd4a624678d81de4639f743c81c8586105306 100644 |
--- a/net/quic/core/quic_crypto_client_stream.h |
+++ b/net/quic/core/quic_crypto_client_stream.h |
@@ -30,8 +30,9 @@ class QUIC_EXPORT_PRIVATE QuicCryptoClientStreamBase : public QuicCryptoStream { |
~QuicCryptoClientStreamBase() override{}; |
- // Performs a crypto handshake with the server. |
- virtual void CryptoConnect() = 0; |
+ // Performs a crypto handshake with the server. Returns true if the connection |
+ // is still connected. |
+ virtual bool CryptoConnect() = 0; |
// num_sent_client_hellos returns the number of client hello messages that |
// have been sent. If the handshake has completed then this is one greater |
@@ -83,7 +84,7 @@ class QUIC_EXPORT_PRIVATE QuicCryptoClientStream |
~QuicCryptoClientStream() override; |
// From QuicCryptoClientStreamBase |
- void CryptoConnect() override; |
+ bool CryptoConnect() override; |
int num_sent_client_hellos() const override; |
int num_scup_messages_received() const override; |