| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |