| Index: net/quic/quic_session.h
|
| diff --git a/net/quic/quic_session.h b/net/quic/quic_session.h
|
| index a55e096fd102c74818848571a4cb8daea1fbac7c..9b6b031a4dece9c655b9ea357256c571779bf54e 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
|
| @@ -59,6 +64,7 @@ class NET_EXPORT_PRIVATE QuicSession : public QuicConnectionVisitorInterface {
|
| bool IsClosedStream(QuicStreamId id);
|
|
|
| QuicConnection* connection() { return connection_.get(); }
|
| + const QuicConnection* connection() const { return connection_.get(); }
|
| size_t num_active_requests() const { return stream_map_.size(); }
|
| const IPEndPoint& peer_address() const {
|
| return connection_->peer_address();
|
|
|