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

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: fixing linker error. 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
« no previous file with comments | « 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 f272e9ad29eb293fef3eea1febdaa8ca1225e626..e9e4a950459942b81660dda0dfdec20c4ecd7c40 100644
--- a/net/quic/test_tools/quic_config_peer.cc
+++ b/net/quic/test_tools/quic_config_peer.cc
@@ -59,15 +59,21 @@ void QuicConfigPeer::SetReceivedMaxIncomingDynamicStreams(
}
// static
-
void QuicConfigPeer::SetConnectionOptionsToSend(QuicConfig* config,
const QuicTagVector& options) {
config->SetConnectionOptionsToSend(options);
}
+// static
void QuicConfigPeer::SetReceivedForceHolBlocking(QuicConfig* config) {
config->force_hol_blocking_.SetReceivedValue(1);
}
+// static
+void QuicConfigPeer::SetReceivedAlternateServerAddress(QuicConfig* config,
+ IPEndPoint addr) {
+ config->alternate_server_address_.SetReceivedValue(addr);
+}
+
} // namespace test
} // namespace net
« no previous file with comments | « 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