Chromium Code Reviews| Index: net/socket/next_proto.h |
| diff --git a/net/socket/next_proto.h b/net/socket/next_proto.h |
| index 22cfbd1611faa600dab79f976e2361e07e2652c1..e12a3520c8645623284be8b816ab02237a765b60 100644 |
| --- a/net/socket/next_proto.h |
| +++ b/net/socket/next_proto.h |
| @@ -47,19 +47,19 @@ typedef std::vector<NextProto> NextProtoVector; |
| // Convenience functions to create NextProtoVector. |
| -NET_EXPORT NextProtoVector NextProtosHttpOnly(); |
| - |
| -// Default values, which are subject to change over time. Currently just |
| -// SPDY 3 and 3.1. |
| +// Default values, which are subject to change over time. |
| NET_EXPORT NextProtoVector NextProtosDefaults(); |
| +// Enable SPDY/3.1 and QUIC, but not HTTP/2. |
| +NET_EXPORT NextProtoVector NextProtosSpdy31(); |
| + |
| +NET_EXPORT NextProtoVector NextProtos(bool spdy31_enabled, |
| + bool h2_14_enabled, |
| + bool h2_enabled, |
| + bool quic_enabled); |
| NET_EXPORT NextProtoVector NextProtosWithSpdyAndQuic(bool spdy_enabled, |
|
Ryan Hamilton
2015/03/20 23:38:07
nit: newline before
Bence
2015/03/23 14:19:14
Moot.
|
| bool quic_enabled); |
|
Ryan Hamilton
2015/03/20 23:38:07
Do we really need this method since the previous o
Bence
2015/03/23 14:19:14
Moot.
|
| -// All of these also enable QUIC. |
| -NET_EXPORT NextProtoVector NextProtosSpdy31(); |
| -NET_EXPORT NextProtoVector NextProtosSpdy4Http2(); |
| - |
| } // namespace net |
| #endif // NET_SOCKET_NEXT_PROTO_H_ |