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

Unified Diff: net/quic/quic_crypto_stream.h

Issue 14718011: Land Recent QUIC Changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « net/quic/quic_crypto_server_stream_test.cc ('k') | net/quic/quic_crypto_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « net/quic/quic_crypto_server_stream_test.cc ('k') | net/quic/quic_crypto_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698