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; |