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

Unified Diff: net/quic/core/quic_crypto_client_stream.h

Issue 2806553004: relnote: change QuicCryptoClientStreamBase::CryptoConnect API (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « net/quic/chromium/quic_chromium_client_session.cc ('k') | net/quic/core/quic_crypto_client_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « net/quic/chromium/quic_chromium_client_session.cc ('k') | net/quic/core/quic_crypto_client_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698