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

Unified Diff: net/quic/quic_crypto_stream.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/quic/quic_crypto_stream.h
diff --git a/net/quic/quic_crypto_stream.h b/net/quic/quic_crypto_stream.h
index b43cb38f2ea9c3f9d5cd6e6a5d18885882470838..db8350330cb39725206801e599ea7e1e9d5c85a2 100644
--- a/net/quic/quic_crypto_stream.h
+++ b/net/quic/quic_crypto_stream.h
@@ -42,18 +42,19 @@ class NET_EXPORT_PRIVATE QuicCryptoStream
// TODO(wtc): return a success/failure status.
void SendHandshakeMessage(const CryptoHandshakeMessage& message);
- bool handshake_complete() { return handshake_complete_; }
+ bool encryption_established() { return encryption_established_; }
+ bool handshake_confirmed() { return handshake_confirmed_; }
protected:
// Closes the connection
void CloseConnection(QuicErrorCode error);
void CloseConnectionWithDetails(QuicErrorCode error, const string& details);
- void SetHandshakeComplete(QuicErrorCode error);
+ bool encryption_established_;
+ bool handshake_confirmed_;
private:
CryptoFramer crypto_framer_;
- bool handshake_complete_;
DISALLOW_COPY_AND_ASSIGN(QuicCryptoStream);
};

Powered by Google App Engine
This is Rietveld 408576698