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_CORE_CONGESTION_CONTROL_BANDWIDTH_SAMPLER_H_ | 5 #ifndef NET_QUIC_CORE_CONGESTION_CONTROL_BANDWIDTH_SAMPLER_H_ |
6 #define NET_QUIC_CORE_CONGESTION_CONTROL_BANDWIDTH_SAMPLER_H_ | 6 #define NET_QUIC_CORE_CONGESTION_CONTROL_BANDWIDTH_SAMPLER_H_ |
7 | 7 |
8 #include "net/base/linked_hash_map.h" | 8 #include "net/base/linked_hash_map.h" |
9 #include "net/quic/core/quic_bandwidth.h" | 9 #include "net/quic/core/quic_bandwidth.h" |
10 #include "net/quic/core/quic_protocol.h" | 10 #include "net/quic/core/quic_packets.h" |
11 #include "net/quic/core/quic_time.h" | 11 #include "net/quic/core/quic_time.h" |
12 | 12 |
13 namespace net { | 13 namespace net { |
14 | 14 |
15 namespace test { | 15 namespace test { |
16 class BandwidthSamplerPeer; | 16 class BandwidthSamplerPeer; |
17 } // namespace test | 17 } // namespace test |
18 | 18 |
19 struct NET_EXPORT_PRIVATE BandwidthSample { | 19 struct NET_EXPORT_PRIVATE BandwidthSample { |
20 // The bandwidth at that particular sample. Zero if no valid bandwidth sample | 20 // The bandwidth at that particular sample. Zero if no valid bandwidth sample |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 QuicPacketNumber end_of_app_limited_phase_; | 236 QuicPacketNumber end_of_app_limited_phase_; |
237 | 237 |
238 // Record of the connection state at the point where each packet in flight was | 238 // Record of the connection state at the point where each packet in flight was |
239 // sent, indexed by the packet number. | 239 // sent, indexed by the packet number. |
240 ConnectionStateMap connection_state_map_; | 240 ConnectionStateMap connection_state_map_; |
241 }; | 241 }; |
242 | 242 |
243 } // namespace net | 243 } // namespace net |
244 | 244 |
245 #endif // NET_QUIC_CORE_CONGESTION_CONTROL_BANDWIDTH_SAMPLER_H_ | 245 #endif // NET_QUIC_CORE_CONGESTION_CONTROL_BANDWIDTH_SAMPLER_H_ |
OLD | NEW |