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 "base/memory/scoped_ptr.h" |
17 #include "net/base/linked_hash_map.h" | 18 #include "net/base/linked_hash_map.h" |
18 #include "net/quic/congestion_control/send_algorithm_interface.h" | 19 #include "net/quic/congestion_control/send_algorithm_interface.h" |
19 #include "net/quic/quic_ack_notifier_manager.h" | 20 #include "net/quic/quic_ack_notifier_manager.h" |
20 #include "net/quic/quic_protocol.h" | 21 #include "net/quic/quic_protocol.h" |
21 | 22 |
22 NET_EXPORT_PRIVATE extern bool FLAGS_track_retransmission_history; | 23 NET_EXPORT_PRIVATE extern bool FLAGS_track_retransmission_history; |
23 NET_EXPORT_PRIVATE extern bool FLAGS_enable_quic_pacing; | 24 NET_EXPORT_PRIVATE extern bool FLAGS_enable_quic_pacing; |
24 | 25 |
25 namespace net { | 26 namespace net { |
26 | 27 |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 // Maximum number of tail loss probes to send before firing an RTO. | 338 // Maximum number of tail loss probes to send before firing an RTO. |
338 size_t max_tail_loss_probes_; | 339 size_t max_tail_loss_probes_; |
339 bool using_pacing_; | 340 bool using_pacing_; |
340 | 341 |
341 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); | 342 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); |
342 }; | 343 }; |
343 | 344 |
344 } // namespace net | 345 } // namespace net |
345 | 346 |
346 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ | 347 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ |
OLD | NEW |