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

Side by Side Diff: net/quic/quic_protocol.h

Issue 761863002: Clean up type usage and fix MSVC "truncated value" warnings in net/quic/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile fix #3 Created 6 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/quic_framer.cc ('k') | net/quic/quic_received_packet_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef NET_QUIC_QUIC_PROTOCOL_H_ 5 #ifndef NET_QUIC_QUIC_PROTOCOL_H_
6 #define NET_QUIC_QUIC_PROTOCOL_H_ 6 #define NET_QUIC_QUIC_PROTOCOL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <limits> 9 #include <limits>
10 #include <list> 10 #include <list>
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 QuicSequenceNumberLength sequence_number_length, 1082 QuicSequenceNumberLength sequence_number_length,
1083 TransmissionType transmission_type, 1083 TransmissionType transmission_type,
1084 QuicTime sent_time); 1084 QuicTime sent_time);
1085 1085
1086 RetransmittableFrames* retransmittable_frames; 1086 RetransmittableFrames* retransmittable_frames;
1087 QuicSequenceNumberLength sequence_number_length; 1087 QuicSequenceNumberLength sequence_number_length;
1088 // Zero when the packet is serialized, non-zero once it's sent. 1088 // Zero when the packet is serialized, non-zero once it's sent.
1089 QuicTime sent_time; 1089 QuicTime sent_time;
1090 // Zero when the packet is serialized, non-zero once it's sent. 1090 // Zero when the packet is serialized, non-zero once it's sent.
1091 QuicByteCount bytes_sent; 1091 QuicByteCount bytes_sent;
1092 size_t nack_count; 1092 QuicPacketCount nack_count;
1093 // Reason why this packet was transmitted. 1093 // Reason why this packet was transmitted.
1094 TransmissionType transmission_type; 1094 TransmissionType transmission_type;
1095 // Stores the sequence numbers of all transmissions of this packet. 1095 // Stores the sequence numbers of all transmissions of this packet.
1096 // Must always be nullptr or have multiple elements. 1096 // Must always be nullptr or have multiple elements.
1097 SequenceNumberList* all_transmissions; 1097 SequenceNumberList* all_transmissions;
1098 // In flight packets have not been abandoned or lost. 1098 // In flight packets have not been abandoned or lost.
1099 bool in_flight; 1099 bool in_flight;
1100 // True if the packet can never be acked, so it can be removed. 1100 // True if the packet can never be acked, so it can be removed.
1101 bool is_unackable; 1101 bool is_unackable;
1102 // True if the packet is an FEC packet. 1102 // True if the packet is an FEC packet.
1103 bool is_fec_packet; 1103 bool is_fec_packet;
1104 }; 1104 };
1105 1105
1106 } // namespace net 1106 } // namespace net
1107 1107
1108 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1108 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/quic_framer.cc ('k') | net/quic/quic_received_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698