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

Unified Diff: net/quic/quic_session.cc

Issue 11364068: Add a QuicHttpStream class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move GetPeerAddress from QuicReliableClientStream to ReliableQuicStream 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_session.cc
diff --git a/net/quic/quic_session.cc b/net/quic/quic_session.cc
index 5e5e9119c0cef5b0d3749d783ac9bbaf79701365..b738d7365740fb105522cf340551d0e98852106f 100644
--- a/net/quic/quic_session.cc
+++ b/net/quic/quic_session.cc
@@ -98,10 +98,14 @@ void QuicSession::CloseStream(QuicStreamId stream_id) {
stream_map_.erase(it);
}
-bool QuicSession::IsHandshakeComplete() {
+bool QuicSession::IsCryptoHandshakeComplete() {
return GetCryptoStream()->handshake_complete();
}
+void QuicSession::OnCryptoHandshakeComplete(QuicErrorCode error) {
+ // TODO(rch): tear down the connection if error != QUIC_NO_ERROR.
+}
+
void QuicSession::ActivateStream(ReliableQuicStream* stream) {
LOG(INFO) << "num_streams: " << stream_map_.size()
<< ". activating " << stream->id();

Powered by Google App Engine
This is Rietveld 408576698