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 "net/quic/core/congestion_control/send_algorithm_interface.h" | 7 #include "net/quic/core/congestion_control/send_algorithm_interface.h" |
8 #include "net/quic/core/quic_flags.h" | |
9 #include "net/quic/core/quic_packet_writer.h" | 8 #include "net/quic/core/quic_packet_writer.h" |
10 #include "net/quic/core/quic_received_packet_manager.h" | 9 #include "net/quic/core/quic_received_packet_manager.h" |
| 10 #include "net/quic/platform/api/quic_flags.h" |
11 #include "net/quic/test_tools/quic_framer_peer.h" | 11 #include "net/quic/test_tools/quic_framer_peer.h" |
12 #include "net/quic/test_tools/quic_packet_generator_peer.h" | 12 #include "net/quic/test_tools/quic_packet_generator_peer.h" |
13 #include "net/quic/test_tools/quic_sent_packet_manager_peer.h" | 13 #include "net/quic/test_tools/quic_sent_packet_manager_peer.h" |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 namespace test { | 16 namespace test { |
17 | 17 |
18 // static | 18 // static |
19 void QuicConnectionPeer::SendAck(QuicConnection* connection) { | 19 void QuicConnectionPeer::SendAck(QuicConnection* connection) { |
20 connection->SendAck(); | 20 connection->SendAck(); |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 } | 253 } |
254 | 254 |
255 // static | 255 // static |
256 void QuicConnectionPeer::SetNoStopWaitingFrames(QuicConnection* connection, | 256 void QuicConnectionPeer::SetNoStopWaitingFrames(QuicConnection* connection, |
257 bool no_stop_waiting_frames) { | 257 bool no_stop_waiting_frames) { |
258 connection->no_stop_waiting_frames_ = no_stop_waiting_frames; | 258 connection->no_stop_waiting_frames_ = no_stop_waiting_frames; |
259 } | 259 } |
260 | 260 |
261 } // namespace test | 261 } // namespace test |
262 } // namespace net | 262 } // namespace net |
OLD | NEW |