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

Unified Diff: net/quic/quic_server_session.h

Issue 839143002: Roll Chrome into Mojo. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rebase Created 5 years, 11 months 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
« no previous file with comments | « net/quic/quic_server.cc ('k') | net/quic/quic_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_server_session.h
diff --git a/net/quic/quic_server_session.h b/net/quic/quic_server_session.h
index 5614b21e185a61fc3639f9a51b307d297a9ab852..a463eecdbea66e3fed247ab0fe95023f48652de7 100644
--- a/net/quic/quic_server_session.h
+++ b/net/quic/quic_server_session.h
@@ -33,7 +33,7 @@ class ReliableQuicStream;
// 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() {}
@@ -41,6 +41,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 {
« no previous file with comments | « net/quic/quic_server.cc ('k') | net/quic/quic_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698