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

Unified Diff: net/socket/next_proto.cc

Issue 987123002: Advertise HTTP/2 support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/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.cc
diff --git a/net/socket/next_proto.cc b/net/socket/next_proto.cc
index 6d6f563801b74551177e5cd2618350ee45e21837..6b5ee3e028f32077a9ac5795669807201b15375f 100644
--- a/net/socket/next_proto.cc
+++ b/net/socket/next_proto.cc
@@ -17,6 +17,7 @@ NextProtoVector NextProtosDefaults() {
next_protos.push_back(kProtoHTTP11);
next_protos.push_back(kProtoSPDY31);
next_protos.push_back(kProtoSPDY4_14);
+ next_protos.push_back(kProtoSPDY4);
return next_protos;
}
@@ -29,6 +30,7 @@ NextProtoVector NextProtosWithSpdyAndQuic(bool spdy_enabled,
if (spdy_enabled) {
next_protos.push_back(kProtoSPDY31);
next_protos.push_back(kProtoSPDY4_14);
+ next_protos.push_back(kProtoSPDY4);
}
return next_protos;
}
@@ -47,6 +49,7 @@ NextProtoVector NextProtosSpdy4Http2() {
next_protos.push_back(kProtoQUIC1SPDY3);
next_protos.push_back(kProtoSPDY31);
next_protos.push_back(kProtoSPDY4_14);
+ next_protos.push_back(kProtoSPDY4);
return next_protos;
}
« no previous file with comments | « net/socket/next_proto.h ('k') | net/socket/ssl_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698