Index: net/base/registry_controlled_domains/registry_controlled_domain.h |
diff --git a/net/base/registry_controlled_domains/registry_controlled_domain.h b/net/base/registry_controlled_domains/registry_controlled_domain.h |
index 429a5770cc2b26522d6f516a120750b57f03379b..0c106685aa5d57597b763b6cf783e63d8347f0da 100644 |
--- a/net/base/registry_controlled_domains/registry_controlled_domain.h |
+++ b/net/base/registry_controlled_domains/registry_controlled_domain.h |
@@ -195,6 +195,9 @@ NET_EXPORT std::string GetDomainAndRegistry(base::StringPiece host, |
// URLs. Note that this means the trailing dot, if any, must match too. |
// Effectively, callers can use this function to check whether the input URLs |
// represent hosts "on the same site". |
+NET_EXPORT bool SameDomainOrHost(base::StringPiece host1, |
+ base::StringPiece host2, |
+ PrivateRegistryFilter filter); |
NET_EXPORT bool SameDomainOrHost(const GURL& gurl1, const GURL& gurl2, |
PrivateRegistryFilter filter); |
NET_EXPORT bool SameDomainOrHost(const url::Origin& origin1, |