| 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_packet_writer.h" | 9 #include "net/quic/quic_packet_writer.h" |
| 10 #include "net/quic/quic_received_packet_manager.h" | 10 #include "net/quic/quic_received_packet_manager.h" |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 QuicPacketNumber number) { | 261 QuicPacketNumber number) { |
| 262 connection->next_mtu_probe_at_ = number; | 262 connection->next_mtu_probe_at_ = number; |
| 263 } | 263 } |
| 264 | 264 |
| 265 // static | 265 // static |
| 266 void QuicConnectionPeer::SetAckMode(QuicConnection* connection, | 266 void QuicConnectionPeer::SetAckMode(QuicConnection* connection, |
| 267 QuicConnection::AckMode ack_mode) { | 267 QuicConnection::AckMode ack_mode) { |
| 268 connection->ack_mode_ = ack_mode; | 268 connection->ack_mode_ = ack_mode; |
| 269 } | 269 } |
| 270 | 270 |
| 271 // static |
| 272 void QuicConnectionPeer::SetAckDecimationDelay(QuicConnection* connection, |
| 273 float ack_decimation_delay) { |
| 274 connection->ack_decimation_delay_ = ack_decimation_delay; |
| 275 } |
| 276 |
| 271 } // namespace test | 277 } // namespace test |
| 272 } // namespace net | 278 } // namespace net |
| OLD | NEW |