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

Side by Side Diff: net/quic/core/quic_transmission_info.cc

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_transmission_info.h ('k') | net/quic/core/quic_types.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 #include "net/quic/core/quic_transmission_info.h"
6
7 namespace net {
8
9 QuicTransmissionInfo::QuicTransmissionInfo()
10 : encryption_level(ENCRYPTION_NONE),
11 packet_number_length(PACKET_1BYTE_PACKET_NUMBER),
12 bytes_sent(0),
13 sent_time(QuicTime::Zero()),
14 transmission_type(NOT_RETRANSMISSION),
15 in_flight(false),
16 is_unackable(false),
17 has_crypto_handshake(false),
18 num_padding_bytes(0),
19 retransmission(0) {}
20
21 QuicTransmissionInfo::QuicTransmissionInfo(
22 EncryptionLevel level,
23 QuicPacketNumberLength packet_number_length,
24 TransmissionType transmission_type,
25 QuicTime sent_time,
26 QuicPacketLength bytes_sent,
27 bool has_crypto_handshake,
28 int num_padding_bytes)
29 : encryption_level(level),
30 packet_number_length(packet_number_length),
31 bytes_sent(bytes_sent),
32 sent_time(sent_time),
33 transmission_type(transmission_type),
34 in_flight(false),
35 is_unackable(false),
36 has_crypto_handshake(has_crypto_handshake),
37 num_padding_bytes(num_padding_bytes),
38 retransmission(0) {}
39
40 QuicTransmissionInfo::QuicTransmissionInfo(const QuicTransmissionInfo& other) =
41 default;
42
43 QuicTransmissionInfo::~QuicTransmissionInfo() {}
44
45 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_transmission_info.h ('k') | net/quic/core/quic_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698