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

Unified Diff: net/tools/quic/test_tools/quic_dispatcher_peer.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/tools/quic/test_tools/quic_dispatcher_peer.h ('k') | net/tools/quic/test_tools/quic_test_server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/test_tools/quic_dispatcher_peer.cc
diff --git a/net/tools/quic/test_tools/quic_dispatcher_peer.cc b/net/tools/quic/test_tools/quic_dispatcher_peer.cc
index 1f38cb319569b297eeb70e0a241d1341bb9fddb0..bb528841e8396a207bdf43fadcdbe7a2d78d919e 100644
--- a/net/tools/quic/test_tools/quic_dispatcher_peer.cc
+++ b/net/tools/quic/test_tools/quic_dispatcher_peer.cc
@@ -81,5 +81,16 @@ void QuicDispatcherPeer::set_new_sessions_allowed_per_event_loop(
num_session_allowed);
}
+// static
+void QuicDispatcherPeer::SendPublicReset(
+ QuicDispatcher* dispatcher,
+ const IPEndPoint& server_address,
+ const IPEndPoint& client_address,
+ QuicConnectionId connection_id,
+ QuicPacketNumber rejected_packet_number) {
+ dispatcher->time_wait_list_manager()->SendPublicReset(
+ server_address, client_address, connection_id, rejected_packet_number);
+}
+
} // namespace test
} // namespace net
« no previous file with comments | « net/tools/quic/test_tools/quic_dispatcher_peer.h ('k') | net/tools/quic/test_tools/quic_test_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698