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_QUIC_SENT_PACKET_MANAGER_H_ | 5 #ifndef NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ |
6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ | 6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <set> | 11 #include <set> |
10 #include <utility> | 12 #include <utility> |
11 #include <vector> | 13 #include <vector> |
12 | 14 |
13 #include "base/containers/hash_tables.h" | 15 #include "base/containers/hash_tables.h" |
| 16 #include "base/macros.h" |
14 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
15 #include "net/base/linked_hash_map.h" | 18 #include "net/base/linked_hash_map.h" |
16 #include "net/quic/congestion_control/loss_detection_interface.h" | 19 #include "net/quic/congestion_control/loss_detection_interface.h" |
17 #include "net/quic/congestion_control/rtt_stats.h" | 20 #include "net/quic/congestion_control/rtt_stats.h" |
18 #include "net/quic/congestion_control/send_algorithm_interface.h" | 21 #include "net/quic/congestion_control/send_algorithm_interface.h" |
19 #include "net/quic/quic_protocol.h" | 22 #include "net/quic/quic_protocol.h" |
20 #include "net/quic/quic_sustained_bandwidth_recorder.h" | 23 #include "net/quic/quic_sustained_bandwidth_recorder.h" |
21 #include "net/quic/quic_unacked_packet_map.h" | 24 #include "net/quic/quic_unacked_packet_map.h" |
22 | 25 |
23 namespace net { | 26 namespace net { |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 // Records bandwidth from server to client in normal operation, over periods | 408 // Records bandwidth from server to client in normal operation, over periods |
406 // of time with no loss events. | 409 // of time with no loss events. |
407 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_; | 410 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_; |
408 | 411 |
409 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); | 412 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); |
410 }; | 413 }; |
411 | 414 |
412 } // namespace net | 415 } // namespace net |
413 | 416 |
414 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ | 417 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ |
OLD | NEW |