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

Unified Diff: net/quic/quic_connection.h

Issue 1343093003: Landing Recent QUIC changes until 9/2/2015 17:00 UTC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with TOT Created 5 years, 3 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_ack_notifier.cc ('k') | 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 69e9f12f38e5c49ff9b025516caf7325e5a0876a..07a7218938a32fcd5ee57c48b56b7a1c692bc020 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -658,6 +658,8 @@ class NET_EXPORT_PRIVATE QuicConnection
// such a version exists, false otherwise.
bool SelectMutualVersion(const QuicVersionVector& available_versions);
+ bool peer_ip_changed() const { return peer_ip_changed_; }
+
bool peer_port_changed() const { return peer_port_changed_; }
private:
@@ -798,8 +800,6 @@ class NET_EXPORT_PRIVATE QuicConnection
IPEndPoint self_address_;
IPEndPoint peer_address_;
- // TODO(fayang): Use migrating_peer_address_ instead of migrating_peer_ip_
- // and migrating_peer_port_ once FLAGS_quic_allow_ip_migration is deprecated.
// Used to store latest peer IP address for IP address migration.
IPAddressNumber migrating_peer_ip_;
// Used to store latest peer port to possibly migrate to later.
@@ -935,11 +935,9 @@ class NET_EXPORT_PRIVATE QuicConnection
bool connected_;
// Set to true if the UDP packet headers have a new IP address for the peer.
- // If true, do not perform connection migration.
bool peer_ip_changed_;
// Set to true if the UDP packet headers have a new port for the peer.
- // If true, and the IP has not changed, then we can migrate the connection.
bool peer_port_changed_;
// Set to true if the UDP packet headers are addressed to a different IP.
« no previous file with comments | « net/quic/quic_ack_notifier.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698