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

Unified Diff: net/socket/ssl_client_socket.cc

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/socket/next_proto.h ('k') | net/spdy/buffered_spdy_framer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket.cc
diff --git a/net/socket/ssl_client_socket.cc b/net/socket/ssl_client_socket.cc
index 54f66a1f68193c5d180ad8c171f5b2966d72fd78..97a21d1bc7edcf1d735068ab4653fe41a9618659 100644
--- a/net/socket/ssl_client_socket.cc
+++ b/net/socket/ssl_client_socket.cc
@@ -20,8 +20,6 @@ NextProto SSLClientSocket::NextProtoFromString(
const std::string& proto_string) {
if (proto_string == "http1.1" || proto_string == "http/1.1") {
return kProtoHTTP11;
- } else if (proto_string == "spdy/1") {
- return kProtoSPDY1;
} else if (proto_string == "spdy/2") {
return kProtoSPDY2;
} else if (proto_string == "spdy/3") {
@@ -44,8 +42,6 @@ const char* SSLClientSocket::NextProtoToString(NextProto next_proto) {
switch (next_proto) {
case kProtoHTTP11:
return "http/1.1";
- case kProtoSPDY1:
- return "spdy/1";
case kProtoSPDY2:
return "spdy/2";
case kProtoSPDY3:
@@ -58,7 +54,6 @@ const char* SSLClientSocket::NextProtoToString(NextProto next_proto) {
return "HTTP-draft-04/2.0";
case kProtoQUIC1SPDY3:
return "quic/1+spdy/3";
- case kProtoSPDY21:
case kProtoUnknown:
break;
}
« no previous file with comments | « net/socket/next_proto.h ('k') | net/spdy/buffered_spdy_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698