| Index: net/quic/quic_connection.h
|
| diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
|
| index a98458bb0de5ef1d7cb4c97e3e02fb0733a777a9..ee5955ffd42391364f30176cd0e0a618bd6f658f 100644
|
| --- a/net/quic/quic_connection.h
|
| +++ b/net/quic/quic_connection.h
|
| @@ -198,6 +198,9 @@ class NET_EXPORT_PRIVATE QuicConnectionDebugVisitor
|
| // in the revival of a packet via FEC.
|
| virtual void OnRevivedPacket(const QuicPacketHeader& revived_header,
|
| base::StringPiece payload) {}
|
| +
|
| + // Called when the connection is closed.
|
| + virtual void OnConnectionClosed(QuicErrorCode error, bool from_peer) {}
|
| };
|
|
|
| class NET_EXPORT_PRIVATE QuicConnectionHelperInterface {
|
| @@ -363,6 +366,11 @@ class NET_EXPORT_PRIVATE QuicConnection
|
| virtual QuicStopWaitingFrame* CreateStopWaitingFrame() OVERRIDE;
|
| virtual bool OnSerializedPacket(const SerializedPacket& packet) OVERRIDE;
|
|
|
| + // Called by the crypto stream when the handshake completes. In the server's
|
| + // case this is when the SHLO has been ACKed. Clients call this on receipt of
|
| + // the SHLO.
|
| + void OnHandshakeComplete();
|
| +
|
| // Accessors
|
| void set_visitor(QuicConnectionVisitorInterface* visitor) {
|
| visitor_ = visitor;
|
|
|