Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: net/quic/core/congestion_control/bandwidth_sampler.h

Issue 2547583002: Landing Recent QUIC changes until Fri Nov 18 23:21:04 2016 +0000 (Closed)
Patch Set: Remove explicit HTTP/2 enum usage Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/chromium/quic_stream_factory.h ('k') | net/quic/core/congestion_control/bbr_sender.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « net/quic/chromium/quic_stream_factory.h ('k') | net/quic/core/congestion_control/bbr_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698