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

Unified Diff: net/quic/quic_connection.h

Issue 1420623004: On client address changes, only migrate QUIC connections when client address changes are considered… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@106433678
Patch Set: Created 5 years, 1 month 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 | « no previous file | net/quic/quic_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.h
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index 288de9ad9e5f90d0a00efb2e3b2b52dff46351f0..87e72f91c5ab4d4c61a654c99e985384c4d54202 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -656,6 +656,9 @@ class NET_EXPORT_PRIVATE QuicConnection
QuicConnectionHelperInterface* helper() { return helper_; }
+ // On peer address changes, determine and return the change type.
+ virtual PeerAddressChangeType DeterminePeerAddressChangeType();
+
// Selects and updates the version of the protocol being used by selecting a
// version from |available_versions| which is also supported. Returns true if
// such a version exists, false otherwise.
@@ -665,6 +668,8 @@ class NET_EXPORT_PRIVATE QuicConnection
bool peer_port_changed() const { return peer_port_changed_; }
+ const IPAddressNumber& migrating_peer_ip() const { return migrating_peer_ip_; }
+
private:
friend class test::QuicConnectionPeer;
friend class test::PacketSavingConnection;
« no previous file with comments | « no previous file | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698