| 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/congestion_control/loss_detection_interface.h" | 8 #include "net/quic/core/congestion_control/loss_detection_interface.h" |
| 9 #include "net/quic/congestion_control/send_algorithm_interface.h" | 9 #include "net/quic/core/congestion_control/send_algorithm_interface.h" |
| 10 #include "net/quic/quic_flags.h" | 10 #include "net/quic/core/quic_flags.h" |
| 11 #include "net/quic/quic_protocol.h" | 11 #include "net/quic/core/quic_protocol.h" |
| 12 #include "net/quic/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 } |
| 22 | 22 |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 // static | 202 // static |
| 203 bool QuicSentPacketManagerPeer::HasRetransmittableFrames( | 203 bool QuicSentPacketManagerPeer::HasRetransmittableFrames( |
| 204 QuicSentPacketManager* sent_packet_manager, | 204 QuicSentPacketManager* sent_packet_manager, |
| 205 QuicPacketNumber packet_number) { | 205 QuicPacketNumber packet_number) { |
| 206 return sent_packet_manager->unacked_packets_.HasRetransmittableFrames( | 206 return sent_packet_manager->unacked_packets_.HasRetransmittableFrames( |
| 207 packet_number); | 207 packet_number); |
| 208 } | 208 } |
| 209 | 209 |
| 210 } // namespace test | 210 } // namespace test |
| 211 } // namespace net | 211 } // namespace net |
| OLD | NEW |