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_sent_packet_manager_peer.h" | 5 #include "net/quic/test_tools/quic_sent_packet_manager_peer.h" |
6 | 6 |
7 #include "base/stl_util.h" | 7 #include "base/stl_util.h" |
8 #include "net/quic/core/congestion_control/loss_detection_interface.h" | 8 #include "net/quic/core/congestion_control/loss_detection_interface.h" |
9 #include "net/quic/core/congestion_control/send_algorithm_interface.h" | 9 #include "net/quic/core/congestion_control/send_algorithm_interface.h" |
10 #include "net/quic/core/quic_flags.h" | 10 #include "net/quic/core/quic_flags.h" |
11 #include "net/quic/core/quic_protocol.h" | 11 #include "net/quic/core/quic_packets.h" |
12 #include "net/quic/core/quic_sent_packet_manager.h" | 12 #include "net/quic/core/quic_sent_packet_manager.h" |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 namespace test { | 15 namespace test { |
16 | 16 |
17 // static | 17 // static |
18 size_t QuicSentPacketManagerPeer::GetMaxTailLossProbes( | 18 size_t QuicSentPacketManagerPeer::GetMaxTailLossProbes( |
19 QuicSentPacketManager* sent_packet_manager) { | 19 QuicSentPacketManager* sent_packet_manager) { |
20 return sent_packet_manager->max_tail_loss_probes_; | 20 return sent_packet_manager->max_tail_loss_probes_; |
21 } | 21 } |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 } | 208 } |
209 | 209 |
210 // static | 210 // static |
211 QuicUnackedPacketMap* QuicSentPacketManagerPeer::GetUnackedPacketMap( | 211 QuicUnackedPacketMap* QuicSentPacketManagerPeer::GetUnackedPacketMap( |
212 QuicSentPacketManager* sent_packet_manager) { | 212 QuicSentPacketManager* sent_packet_manager) { |
213 return &sent_packet_manager->unacked_packets_; | 213 return &sent_packet_manager->unacked_packets_; |
214 } | 214 } |
215 | 215 |
216 } // namespace test | 216 } // namespace test |
217 } // namespace net | 217 } // namespace net |
OLD | NEW |