OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Accumulates frames for the next packet until more frames no longer fit or | 5 // Accumulates frames for the next packet until more frames no longer fit or |
6 // it's time to create a packet from them. If multipath enabled, only creates | 6 // it's time to create a packet from them. |
7 // packets on one path at the same time. Currently, next packet number is | |
8 // tracked per-path. | |
9 | 7 |
10 #ifndef NET_QUIC_CORE_QUIC_PACKET_CREATOR_H_ | 8 #ifndef NET_QUIC_CORE_QUIC_PACKET_CREATOR_H_ |
11 #define NET_QUIC_CORE_QUIC_PACKET_CREATOR_H_ | 9 #define NET_QUIC_CORE_QUIC_PACKET_CREATOR_H_ |
12 | 10 |
13 #include <cstddef> | 11 #include <cstddef> |
14 #include <memory> | 12 #include <memory> |
15 #include <string> | 13 #include <string> |
16 #include <unordered_map> | 14 #include <unordered_map> |
17 #include <utility> | 15 #include <utility> |
18 #include <vector> | 16 #include <vector> |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 | 302 |
305 // The latched value of FLAGS_quic_reloadable_flag_quic_no_stop_waiting_frames | 303 // The latched value of FLAGS_quic_reloadable_flag_quic_no_stop_waiting_frames |
306 bool latched_flag_no_stop_waiting_frames_; | 304 bool latched_flag_no_stop_waiting_frames_; |
307 | 305 |
308 DISALLOW_COPY_AND_ASSIGN(QuicPacketCreator); | 306 DISALLOW_COPY_AND_ASSIGN(QuicPacketCreator); |
309 }; | 307 }; |
310 | 308 |
311 } // namespace net | 309 } // namespace net |
312 | 310 |
313 #endif // NET_QUIC_CORE_QUIC_PACKET_CREATOR_H_ | 311 #endif // NET_QUIC_CORE_QUIC_PACKET_CREATOR_H_ |
OLD | NEW |