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/frames/quic_frame.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 #include "net/quic/platform/api/quic_export.h" |
10 | 11 |
11 namespace net { | 12 namespace net { |
12 | 13 |
13 // Struct to store the pending retransmission information. | 14 // Struct to store the pending retransmission information. |
14 struct NET_EXPORT_PRIVATE QuicPendingRetransmission { | 15 struct QUIC_EXPORT_PRIVATE QuicPendingRetransmission { |
15 QuicPendingRetransmission(QuicPathId path_id, | 16 QuicPendingRetransmission(QuicPathId path_id, |
16 QuicPacketNumber packet_number, | 17 QuicPacketNumber packet_number, |
17 TransmissionType transmission_type, | 18 TransmissionType transmission_type, |
18 const QuicFrames& retransmittable_frames, | 19 const QuicFrames& retransmittable_frames, |
19 bool has_crypto_handshake, | 20 bool has_crypto_handshake, |
20 int num_padding_bytes, | 21 int num_padding_bytes, |
21 EncryptionLevel encryption_level, | 22 EncryptionLevel encryption_level, |
22 QuicPacketNumberLength packet_number_length) | 23 QuicPacketNumberLength packet_number_length) |
23 : packet_number(packet_number), | 24 : packet_number(packet_number), |
24 retransmittable_frames(retransmittable_frames), | 25 retransmittable_frames(retransmittable_frames), |
(...skipping 10 matching lines...) Expand all Loading... |
35 QuicPathId path_id; | 36 QuicPathId path_id; |
36 bool has_crypto_handshake; | 37 bool has_crypto_handshake; |
37 int num_padding_bytes; | 38 int num_padding_bytes; |
38 EncryptionLevel encryption_level; | 39 EncryptionLevel encryption_level; |
39 QuicPacketNumberLength packet_number_length; | 40 QuicPacketNumberLength packet_number_length; |
40 }; | 41 }; |
41 | 42 |
42 } // namespace net | 43 } // namespace net |
43 | 44 |
44 #endif // NET_QUIC_CORE_QUIC_PENDING_RETRANSMISSION_H_ | 45 #endif // NET_QUIC_CORE_QUIC_PENDING_RETRANSMISSION_H_ |
OLD | NEW |