Index: net/base/net_util.h |
diff --git a/net/base/net_util.h b/net/base/net_util.h |
index 9e9dbad4613914bf257bd274edb692c79e947ee3..451150a0df3cef81b7e261b4238b4d6ec1b3abc4 100644 |
--- a/net/base/net_util.h |
+++ b/net/base/net_util.h |
@@ -260,6 +260,10 @@ NET_EXPORT bool IsPortAllowedByDefault(int port); |
// protocol. Returns true if |port| is allowed, false if it is restricted. |
NET_EXPORT_PRIVATE bool IsPortAllowedByFtp(int port); |
+// Checks |port| against a list of ports which are restricted by the HTTPS/WSS |
+// protocols. Returns true if |port| is allowed, false if it is restricted. |
+NET_EXPORT_PRIVATE bool IsPortAllowedByHttpsOrWss(int port); |
+ |
// Check if banned |port| has been overriden by an entry in |
// |explicitly_allowed_ports_|. |
NET_EXPORT_PRIVATE bool IsPortAllowedByOverride(int port); |