OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_received_packet_manager_peer.h" | 5 #include "net/quic/test_tools/quic_received_packet_manager_peer.h" |
6 | 6 |
7 #include "net/quic/core/quic_protocol.h" | 7 #include "net/quic/core/quic_packets.h" |
8 #include "net/quic/core/quic_received_packet_manager.h" | 8 #include "net/quic/core/quic_received_packet_manager.h" |
9 | 9 |
10 namespace net { | 10 namespace net { |
11 namespace test { | 11 namespace test { |
12 | 12 |
13 // static | 13 // static |
14 bool QuicReceivedPacketManagerPeer::DontWaitForPacketsBefore( | 14 bool QuicReceivedPacketManagerPeer::DontWaitForPacketsBefore( |
15 QuicReceivedPacketManager* received_packet_manager, | 15 QuicReceivedPacketManager* received_packet_manager, |
16 QuicPacketNumber least_unacked) { | 16 QuicPacketNumber least_unacked) { |
17 return received_packet_manager->DontWaitForPacketsBefore(least_unacked); | 17 return received_packet_manager->DontWaitForPacketsBefore(least_unacked); |
18 } | 18 } |
19 | 19 |
20 } // namespace test | 20 } // namespace test |
21 } // namespace net | 21 } // namespace net |
OLD | NEW |