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

Unified Diff: net/tools/quic/quic_client.h

Issue 14083012: QUIC: retransmit packets with the correct encryption. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved HandshakeMode enum to MockCryptoClientStream Created 7 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
Index: net/tools/quic/quic_client.h
diff --git a/net/tools/quic/quic_client.h b/net/tools/quic/quic_client.h
index fa3e014af397243a90e67b08a8e5bb6af3584891..2d19e6c7d485857b4d8fd61d2a9e13c6be4f01bc 100644
--- a/net/tools/quic/quic_client.h
+++ b/net/tools/quic/quic_client.h
@@ -43,10 +43,10 @@ class QuicClient : public EpollCallbackInterface {
// completes.
bool StartConnect();
- // Returns true if the crypto handshake is in progress.
- // Returns false if the handshake is complete or the connection has been
- // closed.
- bool CryptoHandshakeInProgress();
+ // Returns true if the crypto handshake has yet to establish encryption.
+ // Returns false if encryption is active (even if the server hasn't confirmed
+ // the handshake) or if the connection has been closed.
+ bool EncryptionBeingEstablished();
// Disconnects from the QUIC server.
void Disconnect();

Powered by Google App Engine
This is Rietveld 408576698