Index: net/socket/next_proto.h |
diff --git a/net/socket/next_proto.h b/net/socket/next_proto.h |
index b4b1d720ab62b9c4e84b6a600a9d96ca459922dc..72ee0bb9888acec8c9320a19ee05d016f5b9530d 100644 |
--- a/net/socket/next_proto.h |
+++ b/net/socket/next_proto.h |
@@ -57,6 +57,9 @@ NET_EXPORT NextProtoVector NextProtosSpdy31(); |
NET_EXPORT NextProtoVector NextProtosWithSpdyAndQuic(bool spdy_enabled, |
bool quic_enabled); |
+// Returns true if |next_proto| is a version of SPDY or HTTP/2. |
+bool NextProtoIsSPDY(NextProto next_proto); |
+ |
} // namespace net |
#endif // NET_SOCKET_NEXT_PROTO_H_ |