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

Unified Diff: net/socket/next_proto.h

Issue 25956002: [SPDY] Remove references to obsolete SPDY versions SPDY/1 and SPDY/2.1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test Created 7 years, 2 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
« no previous file with comments | « net/http/http_stream_factory_impl.cc ('k') | net/socket/ssl_client_socket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/next_proto.h
diff --git a/net/socket/next_proto.h b/net/socket/next_proto.h
index 0bd307a3778d5d9f7ab86431efa9c347cdced5e0..bc712f1b2b23250a22e0f8233eb0b3d07db972d4 100644
--- a/net/socket/next_proto.h
+++ b/net/socket/next_proto.h
@@ -13,23 +13,19 @@ namespace net {
// protocols that we recognise.
enum NextProto {
kProtoUnknown = 0,
- kProtoHTTP11 = 1,
+ kProtoHTTP11,
kProtoMinimumVersion = kProtoHTTP11,
- // TODO(akalin): Stop advertising SPDY/1 and remove this.
- kProtoSPDY1 = 2,
- kProtoSPDYMinimumVersion = kProtoSPDY1,
- kProtoSPDY2 = 3,
- // TODO(akalin): Stop adverising SPDY/2.1, too.
- kProtoSPDY21 = 4,
- kProtoSPDY3 = 5,
- kProtoSPDY31 = 6,
- kProtoSPDY4a2 = 7,
+ kProtoSPDY2,
+ kProtoSPDYMinimumVersion = kProtoSPDY2,
+ kProtoSPDY3,
+ kProtoSPDY31,
+ kProtoSPDY4a2,
// We lump in HTTP/2 with the SPDY protocols for now.
- kProtoHTTP2Draft04 = 8,
+ kProtoHTTP2Draft04,
kProtoSPDYMaximumVersion = kProtoHTTP2Draft04,
- kProtoQUIC1SPDY3 = 9,
+ kProtoQUIC1SPDY3,
kProtoMaximumVersion = kProtoQUIC1SPDY3,
};
« no previous file with comments | « net/http/http_stream_factory_impl.cc ('k') | net/socket/ssl_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698