| 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 24ffb707a50ab5fd44e7b7f86427a9dfd0bff8b6..34bd7fbe5dcb42317f718832c81515b8e33499eb 100644
|
| --- a/net/base/registry_controlled_domains/registry_controlled_domain.h
|
| +++ b/net/base/registry_controlled_domains/registry_controlled_domain.h
|
| @@ -117,6 +117,7 @@
|
|
|
| #include <string>
|
|
|
| +#include "base/optional.h"
|
| #include "base/strings/string_piece.h"
|
| #include "net/base/net_export.h"
|
|
|
| @@ -199,6 +200,9 @@ NET_EXPORT bool SameDomainOrHost(const GURL& gurl1, const GURL& gurl2,
|
| NET_EXPORT bool SameDomainOrHost(const url::Origin& origin1,
|
| const url::Origin& origin2,
|
| PrivateRegistryFilter filter);
|
| +NET_EXPORT bool SameDomainOrHost(const url::Origin& origin1,
|
| + const base::Optional<url::Origin>& origin2,
|
| + 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
|
|
|