OLD | NEW |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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_CORE_QUIC_PENDING_RETRANSMISSION_H_ | 5 #ifndef NET_QUIC_CORE_QUIC_PENDING_RETRANSMISSION_H_ |
6 #define NET_QUIC_CORE_QUIC_PENDING_RETRANSMISSION_H_ | 6 #define NET_QUIC_CORE_QUIC_PENDING_RETRANSMISSION_H_ |
7 | 7 |
8 #include "net/quic/core/quic_frames.h" | 8 #include "net/quic/core/frames/quic_frame.h" |
9 #include "net/quic/core/quic_types.h" | 9 #include "net/quic/core/quic_types.h" |
10 | 10 |
11 namespace net { | 11 namespace net { |
12 | 12 |
13 // Struct to store the pending retransmission information. | 13 // Struct to store the pending retransmission information. |
14 struct NET_EXPORT_PRIVATE QuicPendingRetransmission { | 14 struct NET_EXPORT_PRIVATE QuicPendingRetransmission { |
15 QuicPendingRetransmission(QuicPathId path_id, | 15 QuicPendingRetransmission(QuicPathId path_id, |
16 QuicPacketNumber packet_number, | 16 QuicPacketNumber packet_number, |
17 TransmissionType transmission_type, | 17 TransmissionType transmission_type, |
18 const QuicFrames& retransmittable_frames, | 18 const QuicFrames& retransmittable_frames, |
(...skipping 16 matching lines...) Expand all Loading... |
35 QuicPathId path_id; | 35 QuicPathId path_id; |
36 bool has_crypto_handshake; | 36 bool has_crypto_handshake; |
37 int num_padding_bytes; | 37 int num_padding_bytes; |
38 EncryptionLevel encryption_level; | 38 EncryptionLevel encryption_level; |
39 QuicPacketNumberLength packet_number_length; | 39 QuicPacketNumberLength packet_number_length; |
40 }; | 40 }; |
41 | 41 |
42 } // namespace net | 42 } // namespace net |
43 | 43 |
44 #endif // NET_QUIC_CORE_QUIC_PENDING_RETRANSMISSION_H_ | 44 #endif // NET_QUIC_CORE_QUIC_PENDING_RETRANSMISSION_H_ |
OLD | NEW |