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

Unified Diff: components/domain_reliability/util.cc

Issue 1327923002: Migrates QUIC sessions to a new network when old network is (about to be) disconnected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@home
Patch Set: Rebase. 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
« no previous file with comments | « chrome/browser/io_thread_unittest.cc ('k') | net/http/http_network_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/util.cc
diff --git a/components/domain_reliability/util.cc b/components/domain_reliability/util.cc
index f6570971fb0950774be1fa057b41e53645cc691f..2520a632049b310d999eb4857e708a40d53e36d6 100644
--- a/components/domain_reliability/util.cc
+++ b/components/domain_reliability/util.cc
@@ -255,6 +255,22 @@ const struct QuicErrorMapping {
// tampered with.
{ net::QUIC_VERSION_NEGOTIATION_MISMATCH,
"quic.version_negotiation_mismatch" },
+
+ // Network change and connection migration errors.
+
+ // IP address changed causing connection close.
+ { net::QUIC_IP_ADDRESS_CHANGED, "quic.ip_address_changed" },
+ // Network changed, but connection had no migratable streams.
+ { net::QUIC_CONNECTION_MIGRATION_NO_MIGRATABLE_STREAMS,
+ "quic.connection_migration_no_migratable_streams" },
+ // Connection changed networks too many times.
+ { net::QUIC_CONNECTION_MIGRATION_TOO_MANY_CHANGES,
+ "quic.connection_migration_too_many_changes" },
+ // Connection migration was attempted, but there was no new network to
+ // migrate to.
+ { net::QUIC_CONNECTION_MIGRATION_NO_NEW_NETWORK,
+ "quic.connection_migration_no_new_network" },
+
// No error. Used as bound while iterating.
{ net::QUIC_LAST_ERROR, "quic.last_error"}
};
« no previous file with comments | « chrome/browser/io_thread_unittest.cc ('k') | net/http/http_network_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698