| 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. If multipath enabled, only creates |
| 7 // packets on one path at the same time. Currently, next packet number is | 7 // packets on one path at the same time. Currently, next packet number is |
| 8 // tracked per-path. | 8 // tracked per-path. |
| 9 | 9 |
| 10 #ifndef NET_QUIC_CORE_QUIC_PACKET_CREATOR_H_ | 10 #ifndef NET_QUIC_CORE_QUIC_PACKET_CREATOR_H_ |
| 11 #define NET_QUIC_CORE_QUIC_PACKET_CREATOR_H_ | 11 #define NET_QUIC_CORE_QUIC_PACKET_CREATOR_H_ |
| 12 | 12 |
| 13 #include <cstddef> | 13 #include <cstddef> |
| 14 #include <memory> | 14 #include <memory> |
| 15 #include <string> | 15 #include <string> |
| 16 #include <unordered_map> | 16 #include <unordered_map> |
| 17 #include <utility> | 17 #include <utility> |
| 18 #include <vector> | 18 #include <vector> |
| 19 | 19 |
| 20 #include "base/macros.h" | 20 #include "base/macros.h" |
| 21 #include "base/strings/string_piece.h" | |
| 22 #include "net/quic/core/quic_connection_close_delegate_interface.h" | 21 #include "net/quic/core/quic_connection_close_delegate_interface.h" |
| 23 #include "net/quic/core/quic_framer.h" | 22 #include "net/quic/core/quic_framer.h" |
| 24 #include "net/quic/core/quic_iovector.h" | 23 #include "net/quic/core/quic_iovector.h" |
| 25 #include "net/quic/core/quic_packets.h" | 24 #include "net/quic/core/quic_packets.h" |
| 26 #include "net/quic/core/quic_pending_retransmission.h" | 25 #include "net/quic/core/quic_pending_retransmission.h" |
| 27 #include "net/quic/platform/api/quic_export.h" | 26 #include "net/quic/platform/api/quic_export.h" |
| 28 | 27 |
| 29 namespace net { | 28 namespace net { |
| 30 namespace test { | 29 namespace test { |
| 31 class QuicPacketCreatorPeer; | 30 class QuicPacketCreatorPeer; |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 | 304 |
| 306 // The latched value of FLAGS_quic_reloadable_flag_quic_no_stop_waiting_frames | 305 // The latched value of FLAGS_quic_reloadable_flag_quic_no_stop_waiting_frames |
| 307 bool latched_flag_no_stop_waiting_frames_; | 306 bool latched_flag_no_stop_waiting_frames_; |
| 308 | 307 |
| 309 DISALLOW_COPY_AND_ASSIGN(QuicPacketCreator); | 308 DISALLOW_COPY_AND_ASSIGN(QuicPacketCreator); |
| 310 }; | 309 }; |
| 311 | 310 |
| 312 } // namespace net | 311 } // namespace net |
| 313 | 312 |
| 314 #endif // NET_QUIC_CORE_QUIC_PACKET_CREATOR_H_ | 313 #endif // NET_QUIC_CORE_QUIC_PACKET_CREATOR_H_ |
| OLD | NEW |