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..9f3101a5c4ae1409a722a963db8ff3a50be0a3cd 100644 |
--- a/net/base/registry_controlled_domains/registry_controlled_domain.h |
+++ b/net/base/registry_controlled_domains/registry_controlled_domain.h |
@@ -204,6 +204,9 @@ NET_EXPORT bool SameDomainOrHost(const url::Origin& origin1, |
NET_EXPORT bool SameDomainOrHost(const url::Origin& origin1, |
const base::Optional<url::Origin>& origin2, |
PrivateRegistryFilter filter); |
+NET_EXPORT bool SameDomainOrHost(const GURL& gurl, |
+ const url::Origin& origin, |
+ PrivateRegistryFilter filter); |
// Finds the length in bytes of the registrar portion of the host in the |
// given GURL. Returns std::string::npos if the GURL is invalid or has no |