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

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

Issue 331573002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compiler error - use push_back to initialize vectors Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/quic_packet_generator_test.cc ('k') | net/quic/quic_reliable_client_stream_test.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 <map> 10 #include <map>
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 enum HasRetransmittableData { 148 enum HasRetransmittableData {
149 NO_RETRANSMITTABLE_DATA, 149 NO_RETRANSMITTABLE_DATA,
150 HAS_RETRANSMITTABLE_DATA, 150 HAS_RETRANSMITTABLE_DATA,
151 }; 151 };
152 152
153 enum IsHandshake { 153 enum IsHandshake {
154 NOT_HANDSHAKE, 154 NOT_HANDSHAKE,
155 IS_HANDSHAKE 155 IS_HANDSHAKE
156 }; 156 };
157 157
158 // Indicates FEC protection level for data being written.
159 enum FecProtection {
160 MUST_FEC_PROTECT, // Callee must FEC protect this data.
161 MAY_FEC_PROTECT // Callee does not have to but may FEC protect this data.
162 };
163
158 enum QuicFrameType { 164 enum QuicFrameType {
159 // Regular frame types. The values set here cannot change without the 165 // Regular frame types. The values set here cannot change without the
160 // introduction of a new QUIC version. 166 // introduction of a new QUIC version.
161 PADDING_FRAME = 0, 167 PADDING_FRAME = 0,
162 RST_STREAM_FRAME = 1, 168 RST_STREAM_FRAME = 1,
163 CONNECTION_CLOSE_FRAME = 2, 169 CONNECTION_CLOSE_FRAME = 2,
164 GOAWAY_FRAME = 3, 170 GOAWAY_FRAME = 3,
165 WINDOW_UPDATE_FRAME = 4, 171 WINDOW_UPDATE_FRAME = 4,
166 BLOCKED_FRAME = 5, 172 BLOCKED_FRAME = 5,
167 STOP_WAITING_FRAME = 6, 173 STOP_WAITING_FRAME = 6,
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after
1049 // Stores the sequence numbers of all transmissions of this packet. 1055 // Stores the sequence numbers of all transmissions of this packet.
1050 // Can never be null. 1056 // Can never be null.
1051 SequenceNumberSet* all_transmissions; 1057 SequenceNumberSet* all_transmissions;
1052 // In flight packets have not been abandoned or lost. 1058 // In flight packets have not been abandoned or lost.
1053 bool in_flight; 1059 bool in_flight;
1054 }; 1060 };
1055 1061
1056 } // namespace net 1062 } // namespace net
1057 1063
1058 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1064 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/quic_packet_generator_test.cc ('k') | net/quic/quic_reliable_client_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698