Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: net/quic/core/quic_pending_retransmission.h

Issue 2547583002: Landing Recent QUIC changes until Fri Nov 18 23:21:04 2016 +0000 (Closed)
Patch Set: Remove explicit HTTP/2 enum usage Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/core/quic_packets.cc ('k') | net/quic/core/quic_protocol.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef NET_QUIC_CORE_QUIC_PENDING_RETRANSMISSION_H_
6 #define NET_QUIC_CORE_QUIC_PENDING_RETRANSMISSION_H_
7
8 #include "net/quic/core/frames/quic_frame.h"
9 #include "net/quic/core/quic_types.h"
10
11 namespace net {
12
13 // Struct to store the pending retransmission information.
14 struct NET_EXPORT_PRIVATE QuicPendingRetransmission {
15 QuicPendingRetransmission(QuicPathId path_id,
16 QuicPacketNumber packet_number,
17 TransmissionType transmission_type,
18 const QuicFrames& retransmittable_frames,
19 bool has_crypto_handshake,
20 int num_padding_bytes,
21 EncryptionLevel encryption_level,
22 QuicPacketNumberLength packet_number_length)
23 : packet_number(packet_number),
24 retransmittable_frames(retransmittable_frames),
25 transmission_type(transmission_type),
26 path_id(path_id),
27 has_crypto_handshake(has_crypto_handshake),
28 num_padding_bytes(num_padding_bytes),
29 encryption_level(encryption_level),
30 packet_number_length(packet_number_length) {}
31
32 QuicPacketNumber packet_number;
33 const QuicFrames& retransmittable_frames;
34 TransmissionType transmission_type;
35 QuicPathId path_id;
36 bool has_crypto_handshake;
37 int num_padding_bytes;
38 EncryptionLevel encryption_level;
39 QuicPacketNumberLength packet_number_length;
40 };
41
42 } // namespace net
43
44 #endif // NET_QUIC_CORE_QUIC_PENDING_RETRANSMISSION_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_packets.cc ('k') | net/quic/core/quic_protocol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698