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/core/congestion_control/send_algorithm_interface.h" |
9 #include "net/quic/quic_multipath_sent_packet_manager.h" | 9 #include "net/quic/core/quic_multipath_sent_packet_manager.h" |
10 #include "net/quic/quic_packet_writer.h" | 10 #include "net/quic/core/quic_packet_writer.h" |
11 #include "net/quic/quic_received_packet_manager.h" | 11 #include "net/quic/core/quic_received_packet_manager.h" |
12 #include "net/quic/test_tools/quic_framer_peer.h" | 12 #include "net/quic/test_tools/quic_framer_peer.h" |
13 #include "net/quic/test_tools/quic_packet_generator_peer.h" | 13 #include "net/quic/test_tools/quic_packet_generator_peer.h" |
14 #include "net/quic/test_tools/quic_sent_packet_manager_peer.h" | 14 #include "net/quic/test_tools/quic_sent_packet_manager_peer.h" |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 namespace test { | 17 namespace test { |
18 | 18 |
19 // static | 19 // static |
20 void QuicConnectionPeer::SendAck(QuicConnection* connection) { | 20 void QuicConnectionPeer::SendAck(QuicConnection* connection) { |
21 connection->SendAck(); | 21 connection->SendAck(); |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 bool QuicConnectionPeer::HasRetransmittableFrames( | 298 bool QuicConnectionPeer::HasRetransmittableFrames( |
299 QuicConnection* connection, | 299 QuicConnection* connection, |
300 QuicPathId path_id, | 300 QuicPathId path_id, |
301 QuicPacketNumber packet_number) { | 301 QuicPacketNumber packet_number) { |
302 return QuicSentPacketManagerPeer::HasRetransmittableFrames( | 302 return QuicSentPacketManagerPeer::HasRetransmittableFrames( |
303 GetSentPacketManager(connection, path_id), packet_number); | 303 GetSentPacketManager(connection, path_id), packet_number); |
304 } | 304 } |
305 | 305 |
306 } // namespace test | 306 } // namespace test |
307 } // namespace net | 307 } // namespace net |
OLD | NEW |