| 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> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <set> | 12 #include <set> |
| 13 #include <utility> | 13 #include <utility> |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "net/base/linked_hash_map.h" | 17 #include "net/base/linked_hash_map.h" |
| 18 #include "net/base/net_export.h" | 18 #include "net/base/net_export.h" |
| 19 #include "net/quic/core/congestion_control/general_loss_algorithm.h" | 19 #include "net/quic/core/congestion_control/general_loss_algorithm.h" |
| 20 #include "net/quic/core/congestion_control/loss_detection_interface.h" | 20 #include "net/quic/core/congestion_control/loss_detection_interface.h" |
| 21 #include "net/quic/core/congestion_control/pacing_sender.h" | 21 #include "net/quic/core/congestion_control/pacing_sender.h" |
| 22 #include "net/quic/core/congestion_control/rtt_stats.h" | 22 #include "net/quic/core/congestion_control/rtt_stats.h" |
| 23 #include "net/quic/core/congestion_control/send_algorithm_interface.h" | 23 #include "net/quic/core/congestion_control/send_algorithm_interface.h" |
| 24 #include "net/quic/core/quic_protocol.h" | 24 #include "net/quic/core/quic_packets.h" |
| 25 #include "net/quic/core/quic_sent_packet_manager_interface.h" | 25 #include "net/quic/core/quic_sent_packet_manager_interface.h" |
| 26 #include "net/quic/core/quic_unacked_packet_map.h" | 26 #include "net/quic/core/quic_unacked_packet_map.h" |
| 27 | 27 |
| 28 namespace net { | 28 namespace net { |
| 29 | 29 |
| 30 namespace test { | 30 namespace test { |
| 31 class QuicConnectionPeer; | 31 class QuicConnectionPeer; |
| 32 class QuicSentPacketManagerPeer; | 32 class QuicSentPacketManagerPeer; |
| 33 } // namespace test | 33 } // namespace test |
| 34 | 34 |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 // Records bandwidth from server to client in normal operation, over periods | 414 // Records bandwidth from server to client in normal operation, over periods |
| 415 // of time with no loss events. | 415 // of time with no loss events. |
| 416 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_; | 416 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_; |
| 417 | 417 |
| 418 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); | 418 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); |
| 419 }; | 419 }; |
| 420 | 420 |
| 421 } // namespace net | 421 } // namespace net |
| 422 | 422 |
| 423 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ | 423 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ |
| OLD | NEW |