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

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

Issue 2850573002: Landing Recent QUIC changes until 3:35 PM, Apr 26, 2017 UTC-4 (Closed)
Patch Set: Remove Disconnect from ~QuicTestClient Created 3 years, 7 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_35 = 35, // Allows endpoints to independently set stream limit. 27 QUIC_VERSION_35 = 35, // Allows endpoints to independently set stream limit.
28 QUIC_VERSION_36 = 36, // Add support to force HOL blocking. 28 QUIC_VERSION_36 = 36, // Add support to force HOL blocking.
29 QUIC_VERSION_37 = 37, // Add perspective into null encryption. 29 QUIC_VERSION_37 = 37, // Add perspective into null encryption.
30 QUIC_VERSION_38 = 38, // PADDING frame is a 1-byte frame with type 0x00. 30 QUIC_VERSION_38 = 38, // PADDING frame is a 1-byte frame with type 0x00.
31 // Respect NSTP connection option. 31 // Respect NSTP connection option.
32 QUIC_VERSION_39 = 39, // Experimental support for HTTP stream pairs 32 QUIC_VERSION_39 = 39, // Integers and floating numbers are written in big
33 // and HPACK HoL avoidance. 33 // endian. Dot not ack acks. Send a connection level
34 // WINDOW_UPDATE every 20 sent packets which do not
35 // contain retransmittable frames.
34 36
35 // IMPORTANT: if you are adding to this list, follow the instructions at 37 // IMPORTANT: if you are adding to this list, follow the instructions at
36 // http://sites/quic/adding-and-removing-versions 38 // http://sites/quic/adding-and-removing-versions
37 }; 39 };
38 40
39 // This vector contains QUIC versions which we currently support. 41 // This vector contains QUIC versions which we currently support.
40 // This should be ordered such that the highest supported version is the first 42 // This should be ordered such that the highest supported version is the first
41 // element, with subsequent elements in descending order (versions can be 43 // element, with subsequent elements in descending order (versions can be
42 // skipped as necessary). 44 // skipped as necessary).
43 // 45 //
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 QUIC_EXPORT_PRIVATE std::string QuicVersionToString(const QuicVersion version); 83 QUIC_EXPORT_PRIVATE std::string QuicVersionToString(const QuicVersion version);
82 84
83 // Returns comma separated list of string representations of QuicVersion enum 85 // Returns comma separated list of string representations of QuicVersion enum
84 // values in the supplied |versions| vector. 86 // values in the supplied |versions| vector.
85 QUIC_EXPORT_PRIVATE std::string QuicVersionVectorToString( 87 QUIC_EXPORT_PRIVATE std::string QuicVersionVectorToString(
86 const QuicVersionVector& versions); 88 const QuicVersionVector& versions);
87 89
88 } // namespace net 90 } // namespace net
89 91
90 #endif // NET_QUIC_CORE_QUIC_VERSIONS_H_ 92 #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