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

Unified Diff: net/quic/test_tools/quic_config_peer.cc

Issue 2124753005: Implements migration of a QUIC connection to a different destination address if specified by the se… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@write-error
Patch Set: Comments addressed. Created 4 years, 5 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
« net/quic/quic_stream_factory.h ('K') | « net/quic/test_tools/quic_config_peer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_config_peer.cc
diff --git a/net/quic/test_tools/quic_config_peer.cc b/net/quic/test_tools/quic_config_peer.cc
index 8a094d6ebd5061ee7b44e05d42efe232823d3d29..f021c57a3a6b0d919ee5f1d791d1e5759325a5e0 100644
--- a/net/quic/test_tools/quic_config_peer.cc
+++ b/net/quic/test_tools/quic_config_peer.cc
@@ -58,5 +58,11 @@ void QuicConfigPeer::SetReceivedMaxIncomingDynamicStreams(
config->max_incoming_dynamic_streams_.SetReceivedValue(max_streams);
}
+// static
+void QuicConfigPeer::SetReceivedAlternateServerAddress(QuicConfig* config,
+ IPEndPoint addr) {
+ config->alternate_server_address_.SetReceivedValue(addr);
+}
+
} // namespace test
} // namespace net
« net/quic/quic_stream_factory.h ('K') | « net/quic/test_tools/quic_config_peer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698