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

Side by Side Diff: net/quic/test_tools/quic_connection_peer.cc

Issue 2179713004: Deprecate FLAGS_quic_always_write_queued_retransmissions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@128171703
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/quic/test_tools/quic_connection_peer.h" 5 #include "net/quic/test_tools/quic_connection_peer.h"
6 6
7 #include "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "net/quic/congestion_control/send_algorithm_interface.h" 8 #include "net/quic/congestion_control/send_algorithm_interface.h"
9 #include "net/quic/quic_multipath_sent_packet_manager.h" 9 #include "net/quic/quic_multipath_sent_packet_manager.h"
10 #include "net/quic/quic_packet_writer.h" 10 #include "net/quic/quic_packet_writer.h"
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 QuicConnection::AckMode ack_mode) { 287 QuicConnection::AckMode ack_mode) {
288 connection->ack_mode_ = ack_mode; 288 connection->ack_mode_ = ack_mode;
289 } 289 }
290 290
291 // static 291 // static
292 void QuicConnectionPeer::SetAckDecimationDelay(QuicConnection* connection, 292 void QuicConnectionPeer::SetAckDecimationDelay(QuicConnection* connection,
293 float ack_decimation_delay) { 293 float ack_decimation_delay) {
294 connection->ack_decimation_delay_ = ack_decimation_delay; 294 connection->ack_decimation_delay_ = ack_decimation_delay;
295 } 295 }
296 296
297 // static
298 bool QuicConnectionPeer::HasRetransmittableFrames(
299 QuicConnection* connection,
300 QuicPathId path_id,
301 QuicPacketNumber packet_number) {
302 return QuicSentPacketManagerPeer::HasRetransmittableFrames(
303 GetSentPacketManager(connection, path_id), packet_number);
304 }
305
297 } // namespace test 306 } // namespace test
298 } // namespace net 307 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_connection_peer.h ('k') | net/quic/test_tools/quic_sent_packet_manager_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698