Index: net/tools/quic/quic_time_wait_list_manager.cc |
diff --git a/net/tools/quic/quic_time_wait_list_manager.cc b/net/tools/quic/quic_time_wait_list_manager.cc |
index fbcf2e60d33bfe3d08fac23cbbc81c4da7da3f68..231e24af335924512655a1dee31b9b39a2bca766 100644 |
--- a/net/tools/quic/quic_time_wait_list_manager.cc |
+++ b/net/tools/quic/quic_time_wait_list_manager.cc |
@@ -190,6 +190,17 @@ void QuicTimeWaitListManager::ProcessPacket( |
SendPublicReset(server_address, client_address, connection_id, packet_number); |
} |
+void QuicTimeWaitListManager::SendVersionNegotiationPacket( |
+ QuicConnectionId connection_id, |
+ const QuicVersionVector& supported_versions, |
+ const IPEndPoint& server_address, |
+ const IPEndPoint& client_address) { |
+ QueuedPacket* packet = new QueuedPacket( |
+ server_address, client_address, QuicFramer::BuildVersionNegotiationPacket( |
+ connection_id, supported_versions)); |
+ SendOrQueuePacket(packet); |
+} |
+ |
// Returns true if the number of packets received for this connection_id is a |
// power of 2 to throttle the number of public reset packets we send to a |
// client. |