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

Unified Diff: net/quic/quic_crypto_stream.cc

Issue 11364068: Add a QuicHttpStream class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make GetPeerAddress const Created 8 years, 1 month 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.cc
diff --git a/net/quic/quic_crypto_stream.cc b/net/quic/quic_crypto_stream.cc
index 64c02eecff4440ab370aa4b4583dfb521811709d..f6a416f08ea0b42f18e826a9f37ae888ba61c33d 100644
--- a/net/quic/quic_crypto_stream.cc
+++ b/net/quic/quic_crypto_stream.cc
@@ -37,6 +37,11 @@ void QuicCryptoStream::CloseConnection(QuicErrorCode error) {
session()->connection()->SendConnectionClose(error);
}
+void QuicCryptoStream::SetHandshakeComplete(QuicErrorCode error) {
+ handshake_complete_ = true;
+ session()->OnCryptoHandshakeComplete(error);
+}
+
void QuicCryptoStream::SendHandshakeMessage(
const CryptoHandshakeMessage& message) {
scoped_ptr<QuicData> data(crypto_framer_.ConstructHandshakeMessage(message));

Powered by Google App Engine
This is Rietveld 408576698