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

Unified Diff: net/socket/next_proto.cc

Issue 1020363003: Independently enable SPDY versions from field trial. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add spdy_enabled toggle and TODO. 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') | no next file » | 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 6b5ee3e028f32077a9ac5795669807201b15375f..4632e9716f51be344e2ac1500a3e2a3eaff91528 100644
--- a/net/socket/next_proto.cc
+++ b/net/socket/next_proto.cc
@@ -6,12 +6,6 @@
namespace net {
-NextProtoVector NextProtosHttpOnly() {
- NextProtoVector next_protos;
- next_protos.push_back(kProtoHTTP11);
- return next_protos;
-}
-
NextProtoVector NextProtosDefaults() {
NextProtoVector next_protos;
next_protos.push_back(kProtoHTTP11);
@@ -43,14 +37,4 @@ NextProtoVector NextProtosSpdy31() {
return next_protos;
}
-NextProtoVector NextProtosSpdy4Http2() {
- NextProtoVector next_protos;
- next_protos.push_back(kProtoHTTP11);
- next_protos.push_back(kProtoQUIC1SPDY3);
- next_protos.push_back(kProtoSPDY31);
- next_protos.push_back(kProtoSPDY4_14);
- next_protos.push_back(kProtoSPDY4);
- return next_protos;
-}
-
} // namespace net
« no previous file with comments | « net/socket/next_proto.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698