| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_ | 5 #ifndef NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_ |
| 6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_ | 6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "net/quic/quic_protocol.h" | 9 #include "net/quic/core/quic_protocol.h" |
| 10 #include "net/quic/quic_sustained_bandwidth_recorder.h" | 10 #include "net/quic/core/quic_sustained_bandwidth_recorder.h" |
| 11 | 11 |
| 12 namespace net { | 12 namespace net { |
| 13 | 13 |
| 14 class QuicConfig; | 14 class QuicConfig; |
| 15 class RttStats; | 15 class RttStats; |
| 16 | 16 |
| 17 class NET_EXPORT_PRIVATE QuicSentPacketManagerInterface { | 17 class NET_EXPORT_PRIVATE QuicSentPacketManagerInterface { |
| 18 public: | 18 public: |
| 19 // Interface which gets callbacks from the QuicSentPacketManager at | 19 // Interface which gets callbacks from the QuicSentPacketManager at |
| 20 // interesting points. Implementations must not mutate the state of | 20 // interesting points. Implementations must not mutate the state of |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 | 181 |
| 182 // These two methods return the consecutive RTO or TLP count of the default | 182 // These two methods return the consecutive RTO or TLP count of the default |
| 183 // path. | 183 // path. |
| 184 virtual size_t GetConsecutiveRtoCount() const = 0; | 184 virtual size_t GetConsecutiveRtoCount() const = 0; |
| 185 virtual size_t GetConsecutiveTlpCount() const = 0; | 185 virtual size_t GetConsecutiveTlpCount() const = 0; |
| 186 }; | 186 }; |
| 187 | 187 |
| 188 } // namespace net | 188 } // namespace net |
| 189 | 189 |
| 190 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_ | 190 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_ |
| OLD | NEW |