| 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
|
|
|