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

Unified Diff: net/quic/core/quic_utils.cc

Issue 2322233004: Landing Recent QUIC changes until Sun Sep 4 03:41:00 (Closed)
Patch Set: Remove simulation files from the build. Created 4 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/core/quic_spdy_stream.h ('k') | net/quic/core/quic_utils_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_utils.cc
diff --git a/net/quic/core/quic_utils.cc b/net/quic/core/quic_utils.cc
index efc5b5dd3fbc1fe8aeb94fbf6e1b8949194cbc13..52c0def6a0d85e390ff635cdbe9e3419084af20d 100644
--- a/net/quic/core/quic_utils.cc
+++ b/net/quic/core/quic_utils.cc
@@ -390,7 +390,7 @@ string QuicUtils::PeerAddressChangeTypeToString(PeerAddressChangeType type) {
RETURN_STRING_LITERAL(IPV4_TO_IPV6_CHANGE);
RETURN_STRING_LITERAL(IPV6_TO_IPV4_CHANGE);
RETURN_STRING_LITERAL(IPV6_TO_IPV6_CHANGE);
- RETURN_STRING_LITERAL(UNSPECIFIED_CHANGE);
+ RETURN_STRING_LITERAL(IPV4_TO_IPV4_CHANGE);
}
return "INVALID_PEER_ADDRESS_CHANGE_TYPE";
}
@@ -513,7 +513,7 @@ PeerAddressChangeType QuicUtils::DetermineAddressChangeType(
return IPV4_SUBNET_CHANGE;
}
- return UNSPECIFIED_CHANGE;
+ return IPV4_TO_IPV4_CHANGE;
}
string QuicUtils::HexEncode(const char* data, size_t length) {
« no previous file with comments | « net/quic/core/quic_spdy_stream.h ('k') | net/quic/core/quic_utils_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698