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

Unified Diff: net/quic/quic_protocol.h

Issue 22647002: Add support to QUIC for QUIC_VERSION_8: for RSA-PSS signatures, set (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: net/quic/quic_protocol.h
===================================================================
--- net/quic/quic_protocol.h (revision 216255)
+++ net/quic/quic_protocol.h (working copy)
@@ -180,14 +180,16 @@
// The available versions of QUIC. Guaranteed that the integer value of the enum
// will match the version number.
// When adding a new version to this enum you should add it to
-// kSupportedVersions (if appropriate), and also add a new case to the helper
-// methods QuicVersionToQuicTag, and QuicTagToQuicVersion.
+// kSupportedQuicVersions (if appropriate), and also add a new case to the
+// helper methods QuicVersionToQuicTag, QuicTagToQuicVersion, and
+// QuicVersionToString.
enum QuicVersion {
// Special case to indicate unknown/unsupported QUIC version.
QUIC_VERSION_UNSUPPORTED = 0,
QUIC_VERSION_6 = 6,
- QUIC_VERSION_7 = 7, // Current version.
+ QUIC_VERSION_7 = 7,
+ QUIC_VERSION_8 = 8, // Current version.
};
// This vector contains QUIC versions which we currently support.
@@ -195,7 +197,7 @@
// element, with subsequent elements in descending order (versions can be
// skipped as necessary).
static const QuicVersion kSupportedQuicVersions[] =
- {QUIC_VERSION_7, QUIC_VERSION_6};
+ {QUIC_VERSION_8, QUIC_VERSION_7, QUIC_VERSION_6};
typedef std::vector<QuicVersion> QuicVersionVector;

Powered by Google App Engine
This is Rietveld 408576698