OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "next_proto.h" | 5 #include "net/socket/next_proto.h" |
Ryan Hamilton
2014/12/10 20:09:00
nice catch
| |
6 | 6 |
7 namespace net { | 7 namespace net { |
8 | 8 |
9 NextProtoVector NextProtosHttpOnly() { | 9 NextProtoVector NextProtosHttpOnly() { |
10 NextProtoVector next_protos; | 10 NextProtoVector next_protos; |
11 next_protos.push_back(kProtoHTTP11); | 11 next_protos.push_back(kProtoHTTP11); |
12 return next_protos; | 12 return next_protos; |
13 } | 13 } |
14 | 14 |
15 NextProtoVector NextProtosDefaults() { | 15 NextProtoVector NextProtosDefaults() { |
(...skipping 27 matching lines...) Expand all Loading... | |
43 NextProtoVector next_protos; | 43 NextProtoVector next_protos; |
44 next_protos.push_back(kProtoHTTP11); | 44 next_protos.push_back(kProtoHTTP11); |
45 next_protos.push_back(kProtoQUIC1SPDY3); | 45 next_protos.push_back(kProtoQUIC1SPDY3); |
46 next_protos.push_back(kProtoSPDY31); | 46 next_protos.push_back(kProtoSPDY31); |
47 next_protos.push_back(kProtoSPDY4_14); | 47 next_protos.push_back(kProtoSPDY4_14); |
48 next_protos.push_back(kProtoSPDY4_15); | 48 next_protos.push_back(kProtoSPDY4_15); |
49 return next_protos; | 49 return next_protos; |
50 } | 50 } |
51 | 51 |
52 } // namespace net | 52 } // namespace net |
OLD | NEW |