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/base/net_export.h" |
9 #include "net/quic/core/quic_protocol.h" | 10 #include "net/quic/core/quic_protocol.h" |
10 #include "net/quic/core/quic_sustained_bandwidth_recorder.h" | 11 #include "net/quic/core/quic_sustained_bandwidth_recorder.h" |
11 | 12 |
12 namespace net { | 13 namespace net { |
13 | 14 |
14 class QuicConfig; | 15 class QuicConfig; |
15 class RttStats; | 16 class RttStats; |
16 | 17 |
17 class NET_EXPORT_PRIVATE QuicSentPacketManagerInterface { | 18 class NET_EXPORT_PRIVATE QuicSentPacketManagerInterface { |
18 public: | 19 public: |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 virtual size_t GetConsecutiveTlpCount() const = 0; | 186 virtual size_t GetConsecutiveTlpCount() const = 0; |
186 | 187 |
187 // Signals to the congestion controller that the connection has no outstanding | 188 // Signals to the congestion controller that the connection has no outstanding |
188 // data to send. | 189 // data to send. |
189 virtual void OnApplicationLimited() = 0; | 190 virtual void OnApplicationLimited() = 0; |
190 }; | 191 }; |
191 | 192 |
192 } // namespace net | 193 } // namespace net |
193 | 194 |
194 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_ | 195 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_INTERFACE_H_ |
OLD | NEW |