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

Side by Side Diff: net/quic/core/quic_versions.h

Issue 2809723002: Let QUIC_VERSION_38 support IETF PADDING frame (1 byte frame with type 0x00) and respect NSTP conne… (Closed)
Patch Set: Remove old FLAGS_quic_enable_version_38 Created 3 years, 8 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/core/quic_version_manager_test.cc ('k') | net/quic/core/quic_versions.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_CORE_QUIC_VERSIONS_H_ 5 #ifndef NET_QUIC_CORE_QUIC_VERSIONS_H_
6 #define NET_QUIC_CORE_QUIC_VERSIONS_H_ 6 #define NET_QUIC_CORE_QUIC_VERSIONS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 11 matching lines...) Expand all
22 // QuicVersionToString. 22 // QuicVersionToString.
23 enum QuicVersion { 23 enum QuicVersion {
24 // Special case to indicate unknown/unsupported QUIC version. 24 // Special case to indicate unknown/unsupported QUIC version.
25 QUIC_VERSION_UNSUPPORTED = 0, 25 QUIC_VERSION_UNSUPPORTED = 0,
26 26
27 QUIC_VERSION_34 = 34, // Deprecates entropy, removes private flag from packet 27 QUIC_VERSION_34 = 34, // Deprecates entropy, removes private flag from packet
28 // header, uses new ack and stop waiting wire format. 28 // header, uses new ack and stop waiting wire format.
29 QUIC_VERSION_35 = 35, // Allows endpoints to independently set stream limit. 29 QUIC_VERSION_35 = 35, // Allows endpoints to independently set stream limit.
30 QUIC_VERSION_36 = 36, // Add support to force HOL blocking. 30 QUIC_VERSION_36 = 36, // Add support to force HOL blocking.
31 QUIC_VERSION_37 = 37, // Add perspective into null encryption. 31 QUIC_VERSION_37 = 37, // Add perspective into null encryption.
32 QUIC_VERSION_38 = 38, // Experimental support for HTTP stream pairs 32 QUIC_VERSION_38 = 38, // PADDING frame is a 1-byte frame with type 0x00.
33 // and HPACK HoL avoidance. 33 // Respect NSTP connection option.
34 34
35 // IMPORTANT: if you are adding to this list, follow the instructions at 35 // IMPORTANT: if you are adding to this list, follow the instructions at
36 // http://sites/quic/adding-and-removing-versions 36 // http://sites/quic/adding-and-removing-versions
37 }; 37 };
38 38
39 // This vector contains QUIC versions which we currently support. 39 // This vector contains QUIC versions which we currently support.
40 // This should be ordered such that the highest supported version is the first 40 // This should be ordered such that the highest supported version is the first
41 // element, with subsequent elements in descending order (versions can be 41 // element, with subsequent elements in descending order (versions can be
42 // skipped as necessary). 42 // skipped as necessary).
43 // 43 //
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 QUIC_EXPORT_PRIVATE std::string QuicVersionToString(const QuicVersion version); 81 QUIC_EXPORT_PRIVATE std::string QuicVersionToString(const QuicVersion version);
82 82
83 // Returns comma separated list of string representations of QuicVersion enum 83 // Returns comma separated list of string representations of QuicVersion enum
84 // values in the supplied |versions| vector. 84 // values in the supplied |versions| vector.
85 QUIC_EXPORT_PRIVATE std::string QuicVersionVectorToString( 85 QUIC_EXPORT_PRIVATE std::string QuicVersionVectorToString(
86 const QuicVersionVector& versions); 86 const QuicVersionVector& versions);
87 87
88 } // namespace net 88 } // namespace net
89 89
90 #endif // NET_QUIC_CORE_QUIC_VERSIONS_H_ 90 #endif // NET_QUIC_CORE_QUIC_VERSIONS_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_version_manager_test.cc ('k') | net/quic/core/quic_versions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698