Index: net/socket/next_proto.cc |
diff --git a/net/socket/next_proto.cc b/net/socket/next_proto.cc |
deleted file mode 100644 |
index 6d6f563801b74551177e5cd2618350ee45e21837..0000000000000000000000000000000000000000 |
--- a/net/socket/next_proto.cc |
+++ /dev/null |
@@ -1,53 +0,0 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "net/socket/next_proto.h" |
- |
-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); |
- next_protos.push_back(kProtoSPDY31); |
- next_protos.push_back(kProtoSPDY4_14); |
- return next_protos; |
-} |
- |
-NextProtoVector NextProtosWithSpdyAndQuic(bool spdy_enabled, |
- bool quic_enabled) { |
- NextProtoVector next_protos; |
- next_protos.push_back(kProtoHTTP11); |
- if (quic_enabled) |
- next_protos.push_back(kProtoQUIC1SPDY3); |
- if (spdy_enabled) { |
- next_protos.push_back(kProtoSPDY31); |
- next_protos.push_back(kProtoSPDY4_14); |
- } |
- return next_protos; |
-} |
- |
-NextProtoVector NextProtosSpdy31() { |
- NextProtoVector next_protos; |
- next_protos.push_back(kProtoHTTP11); |
- next_protos.push_back(kProtoQUIC1SPDY3); |
- next_protos.push_back(kProtoSPDY31); |
- 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); |
- return next_protos; |
-} |
- |
-} // namespace net |