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 <deque> | 8 #include <deque> |
9 #include <list> | 9 #include <list> |
10 #include <map> | 10 #include <map> |
11 #include <queue> | 11 #include <queue> |
12 #include <set> | 12 #include <set> |
13 #include <utility> | 13 #include <utility> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/containers/hash_tables.h" | 16 #include "base/containers/hash_tables.h" |
17 #include "net/base/linked_hash_map.h" | 17 #include "net/base/linked_hash_map.h" |
18 #include "net/quic/congestion_control/send_algorithm_interface.h" | 18 #include "net/quic/congestion_control/send_algorithm_interface.h" |
19 #include "net/quic/quic_ack_notifier_manager.h" | 19 #include "net/quic/quic_ack_notifier_manager.h" |
20 #include "net/quic/quic_protocol.h" | 20 #include "net/quic/quic_protocol.h" |
21 | 21 |
22 NET_EXPORT_PRIVATE extern bool FLAGS_track_retransmission_history; | 22 NET_EXPORT_PRIVATE extern bool FLAGS_track_retransmission_history; |
23 NET_EXPORT_PRIVATE extern bool FLAGS_limit_rto_increase_for_tests; | |
24 NET_EXPORT_PRIVATE extern bool FLAGS_enable_quic_pacing; | 23 NET_EXPORT_PRIVATE extern bool FLAGS_enable_quic_pacing; |
25 | 24 |
26 namespace net { | 25 namespace net { |
27 | 26 |
28 namespace test { | 27 namespace test { |
29 class QuicConnectionPeer; | 28 class QuicConnectionPeer; |
30 class QuicSentPacketManagerPeer; | 29 class QuicSentPacketManagerPeer; |
31 } // namespace test | 30 } // namespace test |
32 | 31 |
33 class QuicClock; | 32 class QuicClock; |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 // Maximum number of tail loss probes to send before firing an RTO. | 337 // Maximum number of tail loss probes to send before firing an RTO. |
339 size_t max_tail_loss_probes_; | 338 size_t max_tail_loss_probes_; |
340 bool using_pacing_; | 339 bool using_pacing_; |
341 | 340 |
342 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); | 341 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); |
343 }; | 342 }; |
344 | 343 |
345 } // namespace net | 344 } // namespace net |
346 | 345 |
347 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ | 346 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ |
OLD | NEW |