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

Side by Side Diff: net/tools/quic/test_tools/quic_dispatcher_peer.cc

Issue 2846013002: Remove unused packet_number parameter from multiple functions in QUIC. (Closed)
Patch Set: Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « net/tools/quic/test_tools/quic_dispatcher_peer.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/tools/quic/test_tools/quic_dispatcher_peer.h" 5 #include "net/tools/quic/test_tools/quic_dispatcher_peer.h"
6 6
7 #include "net/tools/quic/quic_dispatcher.h" 7 #include "net/tools/quic/quic_dispatcher.h"
8 #include "net/tools/quic/quic_packet_writer_wrapper.h" 8 #include "net/tools/quic/quic_packet_writer_wrapper.h"
9 9
10 namespace net { 10 namespace net {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 size_t num_session_allowed) { 79 size_t num_session_allowed) {
80 return dispatcher->set_new_sessions_allowed_per_event_loop( 80 return dispatcher->set_new_sessions_allowed_per_event_loop(
81 num_session_allowed); 81 num_session_allowed);
82 } 82 }
83 83
84 // static 84 // static
85 void QuicDispatcherPeer::SendPublicReset( 85 void QuicDispatcherPeer::SendPublicReset(
86 QuicDispatcher* dispatcher, 86 QuicDispatcher* dispatcher,
87 const QuicSocketAddress& server_address, 87 const QuicSocketAddress& server_address,
88 const QuicSocketAddress& client_address, 88 const QuicSocketAddress& client_address,
89 QuicConnectionId connection_id, 89 QuicConnectionId connection_id) {
90 QuicPacketNumber rejected_packet_number) {
91 dispatcher->time_wait_list_manager()->SendPublicReset( 90 dispatcher->time_wait_list_manager()->SendPublicReset(
92 server_address, client_address, connection_id, rejected_packet_number); 91 server_address, client_address, connection_id);
93 } 92 }
94 93
95 } // namespace test 94 } // namespace test
96 } // namespace net 95 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/test_tools/quic_dispatcher_peer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698