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

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

Issue 345453003: QUIC - Minor change to keep the code similar to internal source tree. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/crypto/crypto_server_test.cc ('k') | net/quic/test_tools/quic_test_utils.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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
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. 158 // Indicates FEC protection level for data being written.
159 enum FecProtection { 159 enum FecProtection {
160 MUST_FEC_PROTECT, // Callee must FEC protect this data. 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. 161 MAY_FEC_PROTECT // Callee does not have to but may FEC protect this data.
162 }; 162 };
163 163
164 // Indicates FEC policy 164 // Indicates FEC policy.
165 enum FecPolicy { 165 enum FecPolicy {
166 FEC_PROTECT_ALWAYS, // All data in the stream should be FEC protected. 166 FEC_PROTECT_ALWAYS, // All data in the stream should be FEC protected.
167 FEC_PROTECT_OPTIONAL // Data in the stream does not need FEC protection. 167 FEC_PROTECT_OPTIONAL // Data in the stream does not need FEC protection.
168 }; 168 };
169 169
170 enum QuicFrameType { 170 enum QuicFrameType {
171 // Regular frame types. The values set here cannot change without the 171 // Regular frame types. The values set here cannot change without the
172 // introduction of a new QUIC version. 172 // introduction of a new QUIC version.
173 PADDING_FRAME = 0, 173 PADDING_FRAME = 0,
174 RST_STREAM_FRAME = 1, 174 RST_STREAM_FRAME = 1,
(...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after
1061 // Stores the sequence numbers of all transmissions of this packet. 1061 // Stores the sequence numbers of all transmissions of this packet.
1062 // Can never be null. 1062 // Can never be null.
1063 SequenceNumberSet* all_transmissions; 1063 SequenceNumberSet* all_transmissions;
1064 // In flight packets have not been abandoned or lost. 1064 // In flight packets have not been abandoned or lost.
1065 bool in_flight; 1065 bool in_flight;
1066 }; 1066 };
1067 1067
1068 } // namespace net 1068 } // namespace net
1069 1069
1070 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1070 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/crypto/crypto_server_test.cc ('k') | net/quic/test_tools/quic_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698