#include "components/subresource_filter/core/common/first_party_origin.h"
#include <string_view>
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
namespace subresource_filter {
namespace {
bool IsThirdPartyImpl(const GURL& url, const url::Origin& first_party_origin) { … }
}
FirstPartyOrigin::FirstPartyOrigin(url::Origin document_origin)
: … { … }
bool FirstPartyOrigin::IsThirdParty(const GURL& url) const { … }
bool FirstPartyOrigin::IsThirdParty(const GURL& url,
const url::Origin& first_party_origin) { … }
}