diff options
Diffstat (limited to 'net/socket/next_proto.h')
-rw-r--r-- | net/socket/next_proto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/socket/next_proto.h b/net/socket/next_proto.h index 62cac9a..06f31ba 100644 --- a/net/socket/next_proto.h +++ b/net/socket/next_proto.h @@ -58,6 +58,9 @@ NET_EXPORT NextProtoVector NextProtosWithSpdyAndQuic(bool spdy_enabled, // Returns true if |next_proto| is a version of SPDY or HTTP/2. bool NextProtoIsSPDY(NextProto next_proto); +// Remove HTTP/2 from |next_protos|. +NET_EXPORT void DisableHTTP2(NextProtoVector* next_protos); + } // namespace net #endif // NET_SOCKET_NEXT_PROTO_H_ |