| 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 #ifndef NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ | 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ |
| 6 #define NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ | 6 #define NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ |
| 7 | 7 |
| 8 #include "net/quic/quic_protocol.h" | 8 #include "net/quic/quic_protocol.h" |
| 9 #include "net/quic/quic_sent_packet_manager.h" | 9 #include "net/quic/quic_sent_packet_manager.h" |
| 10 | 10 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 53 |
| 54 static QuicTime::Delta GetRetransmissionDelay( | 54 static QuicTime::Delta GetRetransmissionDelay( |
| 55 const QuicSentPacketManager* sent_packet_manager); | 55 const QuicSentPacketManager* sent_packet_manager); |
| 56 | 56 |
| 57 static bool HasUnackedCryptoPackets( | 57 static bool HasUnackedCryptoPackets( |
| 58 const QuicSentPacketManager* sent_packet_manager); | 58 const QuicSentPacketManager* sent_packet_manager); |
| 59 | 59 |
| 60 static size_t GetNumRetransmittablePackets( | 60 static size_t GetNumRetransmittablePackets( |
| 61 const QuicSentPacketManager* sent_packet_manager); | 61 const QuicSentPacketManager* sent_packet_manager); |
| 62 | 62 |
| 63 static SequenceNumberSet GetUnackedPackets( | |
| 64 const QuicSentPacketManager* sent_packet_manager); | |
| 65 | |
| 66 static QuicByteCount GetBytesInFlight( | 63 static QuicByteCount GetBytesInFlight( |
| 67 const QuicSentPacketManager* sent_packet_manager); | 64 const QuicSentPacketManager* sent_packet_manager); |
| 68 | 65 |
| 69 private: | 66 private: |
| 70 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManagerPeer); | 67 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManagerPeer); |
| 71 }; | 68 }; |
| 72 | 69 |
| 73 } // namespace test | 70 } // namespace test |
| 74 | 71 |
| 75 } // namespace net | 72 } // namespace net |
| 76 | 73 |
| 77 #endif // NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ | 74 #endif // NET_QUIC_TEST_TOOLS_QUIC_SENT_PACKET_MANAGER_PEER_H_ |
| OLD | NEW |