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

Unified Diff: net/quic/quic_connection.h

Issue 1613513003: Early connection migration in QUIC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@home
Patch Set: Style nit fixed. Created 4 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
Index: net/quic/quic_connection.h
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index f82d04af19cf45052788377b69ce58b087916bfa..bd83e51d928c03a7327ab40a4775f28c52855224 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -132,6 +132,9 @@ class NET_EXPORT_PRIVATE QuicConnectionVisitorInterface {
// Called when the connection receives a packet from a migrated client.
virtual void OnConnectionMigration() = 0;
+ // Called when the the peer seems unreachable over the current network.
+ virtual void MaybeMigrateConnection() = 0;
Ryan Hamilton 2016/02/02 04:19:59 I think OnPeerUnreachable() (or some such) would b
Ryan Hamilton 2016/02/02 04:19:59 Looks like this is basically shared code and shoul
Jana 2016/02/02 06:53:53 Addressing in shared code.
Jana 2016/02/02 06:53:53 Yes, I wanted to have this CL out for context.
+
// Called to ask if the visitor wants to schedule write resumption as it both
// has pending data to write, and is able to write (e.g. based on flow control
// limits).

Powered by Google App Engine
This is Rietveld 408576698