| Index: net/tools/quic/quic_server_session.h
|
| diff --git a/net/tools/quic/quic_server_session.h b/net/tools/quic/quic_server_session.h
|
| index 81cae1283630acf01e7083b34a9ea6d1667831fe..3b5cff0b3783457ff73a11bcc9345169194db367 100644
|
| --- a/net/tools/quic/quic_server_session.h
|
| +++ b/net/tools/quic/quic_server_session.h
|
| @@ -34,7 +34,7 @@ class QuicServerSessionPeer;
|
|
|
| // An interface from the session to the entity owning the session.
|
| // This lets the session notify its owner (the Dispatcher) when the connection
|
| -// is closed or blocked.
|
| +// is closed, blocked, or added/removed from the time-wait list.
|
| class QuicServerSessionVisitor {
|
| public:
|
| virtual ~QuicServerSessionVisitor() {}
|
| @@ -42,6 +42,12 @@ class QuicServerSessionVisitor {
|
| virtual void OnConnectionClosed(QuicConnectionId connection_id,
|
| QuicErrorCode error) = 0;
|
| virtual void OnWriteBlocked(QuicBlockedWriterInterface* blocked_writer) = 0;
|
| + // Called after the given connection is added to the time-wait list.
|
| + virtual void OnConnectionAddedToTimeWaitList(QuicConnectionId connection_id) {
|
| + }
|
| + // Called after the given connection is removed from the time-wait list.
|
| + virtual void OnConnectionRemovedFromTimeWaitList(
|
| + QuicConnectionId connection_id) {}
|
| };
|
|
|
| class QuicServerSession : public QuicSession {
|
|
|