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

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

Issue 394053003: QUIC - minor cleanup changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with TOT Created 6 years, 5 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_crypto_client_stream.cc ('k') | net/quic/reliable_quic_stream.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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 // kSupportedQuicVersions (if appropriate), and also add a new case to the 272 // kSupportedQuicVersions (if appropriate), and also add a new case to the
273 // helper methods QuicVersionToQuicTag, QuicTagToQuicVersion, and 273 // helper methods QuicVersionToQuicTag, QuicTagToQuicVersion, and
274 // QuicVersionToString. 274 // QuicVersionToString.
275 enum QuicVersion { 275 enum QuicVersion {
276 // Special case to indicate unknown/unsupported QUIC version. 276 // Special case to indicate unknown/unsupported QUIC version.
277 QUIC_VERSION_UNSUPPORTED = 0, 277 QUIC_VERSION_UNSUPPORTED = 0,
278 278
279 QUIC_VERSION_15 = 15, // Revived packets in ReceivedPacketInfo. 279 QUIC_VERSION_15 = 15, // Revived packets in ReceivedPacketInfo.
280 QUIC_VERSION_16 = 16, // STOP_WAITING frame. 280 QUIC_VERSION_16 = 16, // STOP_WAITING frame.
281 QUIC_VERSION_18 = 18, // PING frame. 281 QUIC_VERSION_18 = 18, // PING frame.
282 QUIC_VERSION_19 = 19, // Session level flow control. 282 QUIC_VERSION_19 = 19, // Connection level flow control.
283 QUIC_VERSION_20 = 20, // Independent stream/session flow control windows. 283 QUIC_VERSION_20 = 20, // Independent stream/connection flow control windows.
284 QUIC_VERSION_21 = 21, // Headers/crypto streams are flow controlled. 284 QUIC_VERSION_21 = 21, // Headers/crypto streams are flow controlled.
285 }; 285 };
286 286
287 // This vector contains QUIC versions which we currently support. 287 // This vector contains QUIC versions which we currently support.
288 // This should be ordered such that the highest supported version is the first 288 // This should be ordered such that the highest supported version is the first
289 // element, with subsequent elements in descending order (versions can be 289 // element, with subsequent elements in descending order (versions can be
290 // skipped as necessary). 290 // skipped as necessary).
291 // 291 //
292 // IMPORTANT: if you are addding to this list, follow the instructions at 292 // IMPORTANT: if you are addding to this list, follow the instructions at
293 // http://sites/quic/adding-and-removing-versions 293 // http://sites/quic/adding-and-removing-versions
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
1067 // Stores the sequence numbers of all transmissions of this packet. 1067 // Stores the sequence numbers of all transmissions of this packet.
1068 // Can never be null. 1068 // Can never be null.
1069 SequenceNumberSet* all_transmissions; 1069 SequenceNumberSet* all_transmissions;
1070 // In flight packets have not been abandoned or lost. 1070 // In flight packets have not been abandoned or lost.
1071 bool in_flight; 1071 bool in_flight;
1072 }; 1072 };
1073 1073
1074 } // namespace net 1074 } // namespace net
1075 1075
1076 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1076 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/quic_crypto_client_stream.cc ('k') | net/quic/reliable_quic_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698