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

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

Issue 612323013: QUIC - (no behavior change) s/NULL/nullptr/g in .../quic/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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_packet_generator_test.cc ('k') | net/quic/quic_protocol.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 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after
1073 RetransmittableFrames* retransmittable_frames; 1073 RetransmittableFrames* retransmittable_frames;
1074 QuicSequenceNumberLength sequence_number_length; 1074 QuicSequenceNumberLength sequence_number_length;
1075 // Zero when the packet is serialized, non-zero once it's sent. 1075 // Zero when the packet is serialized, non-zero once it's sent.
1076 QuicTime sent_time; 1076 QuicTime sent_time;
1077 // Zero when the packet is serialized, non-zero once it's sent. 1077 // Zero when the packet is serialized, non-zero once it's sent.
1078 QuicByteCount bytes_sent; 1078 QuicByteCount bytes_sent;
1079 size_t nack_count; 1079 size_t nack_count;
1080 // Reason why this packet was transmitted. 1080 // Reason why this packet was transmitted.
1081 TransmissionType transmission_type; 1081 TransmissionType transmission_type;
1082 // Stores the sequence numbers of all transmissions of this packet. 1082 // Stores the sequence numbers of all transmissions of this packet.
1083 // Must always be NULL or have multiple elements. 1083 // Must always be nullptr or have multiple elements.
1084 SequenceNumberList* all_transmissions; 1084 SequenceNumberList* all_transmissions;
1085 // In flight packets have not been abandoned or lost. 1085 // In flight packets have not been abandoned or lost.
1086 bool in_flight; 1086 bool in_flight;
1087 // True if the packet can never be acked, so it can be removed. 1087 // True if the packet can never be acked, so it can be removed.
1088 bool is_unackable; 1088 bool is_unackable;
1089 }; 1089 };
1090 1090
1091 } // namespace net 1091 } // namespace net
1092 1092
1093 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1093 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/quic_packet_generator_test.cc ('k') | net/quic/quic_protocol.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698