#include "third_party/blink/public/common/permissions_policy/origin_with_possible_wildcards.h"
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
#include "services/network/public/cpp/content_security_policy/content_security_policy.h"
#include "services/network/public/cpp/content_security_policy/csp_source.h"
#include "services/network/public/cpp/cors/origin_access_entry.h"
#include "url/gurl.h"
#include "url/origin.h"
namespace blink {
OriginWithPossibleWildcards::OriginWithPossibleWildcards() = default;
OriginWithPossibleWildcards::OriginWithPossibleWildcards(
const OriginWithPossibleWildcards& rhs) = default;
OriginWithPossibleWildcards& OriginWithPossibleWildcards::operator=(
const OriginWithPossibleWildcards& rhs) = default;
OriginWithPossibleWildcards::~OriginWithPossibleWildcards() = default;
std::optional<OriginWithPossibleWildcards>
OriginWithPossibleWildcards::FromOrigin(const url::Origin& origin) { … }
std::optional<OriginWithPossibleWildcards>
OriginWithPossibleWildcards::FromOriginAndWildcardsForTest(
const url::Origin& origin,
bool has_subdomain_wildcard) { … }
std::optional<OriginWithPossibleWildcards> OriginWithPossibleWildcards::Parse(
const std::string& allowlist_entry,
const NodeType type) { … }
std::string OriginWithPossibleWildcards::Serialize() const { … }
bool OriginWithPossibleWildcards::DoesMatchOrigin(
const url::Origin& match_origin) const { … }
bool operator==(const OriginWithPossibleWildcards& lhs,
const OriginWithPossibleWildcards& rhs) { … }
bool operator!=(const OriginWithPossibleWildcards& lhs,
const OriginWithPossibleWildcards& rhs) { … }
bool operator<(const OriginWithPossibleWildcards& lhs,
const OriginWithPossibleWildcards& rhs) { … }
}