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

Unified Diff: net/quic/quic_session.h

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.h
diff --git a/net/quic/quic_session.h b/net/quic/quic_session.h
index a55e096fd102c74818848571a4cb8daea1fbac7c..74d2e8fd5c524eb1b3383e30f6ffa96aae21f4f7 100644
--- a/net/quic/quic_session.h
+++ b/net/quic/quic_session.h
@@ -51,7 +51,12 @@ class NET_EXPORT_PRIVATE QuicSession : public QuicConnectionVisitorInterface {
virtual void CloseStream(QuicStreamId stream_id);
// Returns true once the crypto handshake is complete.
- virtual bool IsHandshakeComplete();
+ virtual bool IsCryptoHandshakeComplete();
+
+ // Called by the QuicCryptoStream when the handshake completes.
+ // If |error| is QUIC_NO_ERROR then the handshake was succesful,
+ // otherwise it failed.
+ virtual void OnCryptoHandshakeComplete(QuicErrorCode error);
// Returns true if the stream existed previously and has been closed.
// Returns false if the stream is still active or if the stream has

Powered by Google App Engine
This is Rietveld 408576698