#include "services/network/public/cpp/cross_origin_opener_policy.h"
#include "services/network/public/cpp/cross_origin_embedder_policy.h"
namespace network {
CrossOriginOpenerPolicy::CrossOriginOpenerPolicy() = default;
CrossOriginOpenerPolicy::CrossOriginOpenerPolicy(
const CrossOriginOpenerPolicy& src) = default;
CrossOriginOpenerPolicy::CrossOriginOpenerPolicy(
CrossOriginOpenerPolicy&& src) = default;
CrossOriginOpenerPolicy::~CrossOriginOpenerPolicy() = default;
CrossOriginOpenerPolicy& CrossOriginOpenerPolicy::operator=(
const CrossOriginOpenerPolicy& src) = default;
CrossOriginOpenerPolicy& CrossOriginOpenerPolicy::operator=(
CrossOriginOpenerPolicy&& src) = default;
bool CrossOriginOpenerPolicy::operator==(
const CrossOriginOpenerPolicy& other) const { … }
bool CrossOriginOpenerPolicy::IsEqualExcludingOrigin(
const CrossOriginOpenerPolicy& other) const { … }
bool IsAccessFromCoopPage(mojom::CoopAccessReportType type) { … }
const char* CoopAccessReportTypeToString(mojom::CoopAccessReportType type) { … }
void AugmentCoopWithCoep(CrossOriginOpenerPolicy* coop,
const CrossOriginEmbedderPolicy& coep) { … }
bool IsRelatedToCoopRestrictProperties(
mojom::CrossOriginOpenerPolicyValue value) { … }
}