chromium/out/Default/gen/third_party/blink/public/mojom/fenced_frame/fenced_frame_config.mojom.h

// third_party/blink/public/mojom/fenced_frame/fenced_frame_config.mojom.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_FENCED_FRAME_FENCED_FRAME_CONFIG_MOJOM_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_FENCED_FRAME_FENCED_FRAME_CONFIG_MOJOM_H_

#include <stdint.h>

#include <limits>
#include <optional>
#include <type_traits>
#include <utility>

#include "base/types/cxx23_to_underlying.h"
#include "mojo/public/cpp/bindings/clone_traits.h"
#include "mojo/public/cpp/bindings/equals_traits.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"

#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"

#include "third_party/blink/public/mojom/fenced_frame/fenced_frame_config.mojom-features.h"  // IWYU pragma: export
#include "third_party/blink/public/mojom/fenced_frame/fenced_frame_config.mojom-shared.h"  // IWYU pragma: export
#include "third_party/blink/public/mojom/fenced_frame/fenced_frame_config.mojom-forward.h"  // IWYU pragma: export
#include "services/network/public/mojom/schemeful_site.mojom.h"
#include "third_party/blink/public/mojom/permissions_policy/permissions_policy.mojom.h"
#include "third_party/blink/public/mojom/permissions_policy/permissions_policy_feature.mojom-forward.h"
#include "ui/gfx/geometry/mojom/geometry.mojom.h"
#include "url/mojom/url.mojom.h"
#include "url/mojom/origin.mojom.h"
#include <string>
#include <vector>




#include "third_party/blink/public/common/fenced_frame/redacted_fenced_frame_config_mojom_traits.h"
#include "third_party/blink/public/common/common_export.h"




namespace blink::mojom {











class BLINK_COMMON_EXPORT PotentiallyOpaqueURL {};



class BLINK_COMMON_EXPORT PotentiallyOpaqueSize {};



class BLINK_COMMON_EXPORT PotentiallyOpaqueBool {};



class BLINK_COMMON_EXPORT PotentiallyOpaqueAdAuctionData {};



class BLINK_COMMON_EXPORT PotentiallyOpaqueConfigVector {};



class BLINK_COMMON_EXPORT PotentiallyOpaqueURNConfigVector {};



class BLINK_COMMON_EXPORT PotentiallyOpaqueSharedStorageBudgetMetadata {};





class BLINK_COMMON_EXPORT AdAuctionData {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, AdAuctionData::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, AdAuctionData::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, AdAuctionData::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, AdAuctionData::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class BLINK_COMMON_EXPORT URNConfigPair {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, URNConfigPair::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, URNConfigPair::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, URNConfigPair::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, URNConfigPair::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class BLINK_COMMON_EXPORT SharedStorageBudgetMetadata {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, SharedStorageBudgetMetadata::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, SharedStorageBudgetMetadata::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, SharedStorageBudgetMetadata::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, SharedStorageBudgetMetadata::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class BLINK_COMMON_EXPORT ParentPermissionsInfo {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, ParentPermissionsInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, ParentPermissionsInfo::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, ParentPermissionsInfo::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, ParentPermissionsInfo::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class BLINK_COMMON_EXPORT FencedFrameConfig {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, FencedFrameConfig::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, FencedFrameConfig::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, FencedFrameConfig::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, FencedFrameConfig::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class BLINK_COMMON_EXPORT FencedFrameProperties {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, FencedFrameProperties::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, FencedFrameProperties::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, FencedFrameProperties::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, FencedFrameProperties::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}

template <typename UnionPtrType>
PotentiallyOpaqueURLPtr PotentiallyOpaqueURL::Clone() const {}

template <typename T,
          typename std::enable_if<std::is_same<
              T, PotentiallyOpaqueURL>::value>::type*>
bool PotentiallyOpaqueURL::Equals(const T& other) const {}
template <typename UnionPtrType>
PotentiallyOpaqueSizePtr PotentiallyOpaqueSize::Clone() const {}

template <typename T,
          typename std::enable_if<std::is_same<
              T, PotentiallyOpaqueSize>::value>::type*>
bool PotentiallyOpaqueSize::Equals(const T& other) const {}
template <typename UnionPtrType>
PotentiallyOpaqueBoolPtr PotentiallyOpaqueBool::Clone() const {}

template <typename T,
          typename std::enable_if<std::is_same<
              T, PotentiallyOpaqueBool>::value>::type*>
bool PotentiallyOpaqueBool::Equals(const T& other) const {}
template <typename UnionPtrType>
PotentiallyOpaqueAdAuctionDataPtr PotentiallyOpaqueAdAuctionData::Clone() const {}

template <typename T,
          typename std::enable_if<std::is_same<
              T, PotentiallyOpaqueAdAuctionData>::value>::type*>
bool PotentiallyOpaqueAdAuctionData::Equals(const T& other) const {}
template <typename UnionPtrType>
PotentiallyOpaqueConfigVectorPtr PotentiallyOpaqueConfigVector::Clone() const {}

template <typename T,
          typename std::enable_if<std::is_same<
              T, PotentiallyOpaqueConfigVector>::value>::type*>
bool PotentiallyOpaqueConfigVector::Equals(const T& other) const {}
template <typename UnionPtrType>
PotentiallyOpaqueURNConfigVectorPtr PotentiallyOpaqueURNConfigVector::Clone() const {}

template <typename T,
          typename std::enable_if<std::is_same<
              T, PotentiallyOpaqueURNConfigVector>::value>::type*>
bool PotentiallyOpaqueURNConfigVector::Equals(const T& other) const {}
template <typename UnionPtrType>
PotentiallyOpaqueSharedStorageBudgetMetadataPtr PotentiallyOpaqueSharedStorageBudgetMetadata::Clone() const {}

template <typename T,
          typename std::enable_if<std::is_same<
              T, PotentiallyOpaqueSharedStorageBudgetMetadata>::value>::type*>
bool PotentiallyOpaqueSharedStorageBudgetMetadata::Equals(const T& other) const {}
template <typename StructPtrType>
AdAuctionDataPtr AdAuctionData::Clone() const {}

template <typename T, AdAuctionData::EnableIfSame<T>*>
bool AdAuctionData::Equals(const T& other_struct) const {}

template <typename T, AdAuctionData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
URNConfigPairPtr URNConfigPair::Clone() const {}

template <typename T, URNConfigPair::EnableIfSame<T>*>
bool URNConfigPair::Equals(const T& other_struct) const {}

template <typename T, URNConfigPair::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
SharedStorageBudgetMetadataPtr SharedStorageBudgetMetadata::Clone() const {}

template <typename T, SharedStorageBudgetMetadata::EnableIfSame<T>*>
bool SharedStorageBudgetMetadata::Equals(const T& other_struct) const {}

template <typename T, SharedStorageBudgetMetadata::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ParentPermissionsInfoPtr ParentPermissionsInfo::Clone() const {}

template <typename T, ParentPermissionsInfo::EnableIfSame<T>*>
bool ParentPermissionsInfo::Equals(const T& other_struct) const {}

template <typename T, ParentPermissionsInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
FencedFrameConfigPtr FencedFrameConfig::Clone() const {}

template <typename T, FencedFrameConfig::EnableIfSame<T>*>
bool FencedFrameConfig::Equals(const T& other_struct) const {}

template <typename T, FencedFrameConfig::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
FencedFramePropertiesPtr FencedFrameProperties::Clone() const {}

template <typename T, FencedFrameProperties::EnableIfSame<T>*>
bool FencedFrameProperties::Equals(const T& other_struct) const {}

template <typename T, FencedFrameProperties::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}


}  // blink::mojom

namespace mojo {


template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::AdAuctionData::DataView,
                                         ::blink::mojom::AdAuctionDataPtr> {};


template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::URNConfigPair::DataView,
                                         ::blink::mojom::URNConfigPairPtr> {};


template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::SharedStorageBudgetMetadata::DataView,
                                         ::blink::mojom::SharedStorageBudgetMetadataPtr> {};


template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::ParentPermissionsInfo::DataView,
                                         ::blink::mojom::ParentPermissionsInfoPtr> {};


template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::FencedFrameConfig::DataView,
                                         ::blink::mojom::FencedFrameConfigPtr> {};


template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::FencedFrameProperties::DataView,
                                         ::blink::mojom::FencedFramePropertiesPtr> {};


template <>
struct BLINK_COMMON_EXPORT UnionTraits<::blink::mojom::PotentiallyOpaqueURL::DataView,
                                        ::blink::mojom::PotentiallyOpaqueURLPtr> {};


template <>
struct BLINK_COMMON_EXPORT UnionTraits<::blink::mojom::PotentiallyOpaqueSize::DataView,
                                        ::blink::mojom::PotentiallyOpaqueSizePtr> {};


template <>
struct BLINK_COMMON_EXPORT UnionTraits<::blink::mojom::PotentiallyOpaqueBool::DataView,
                                        ::blink::mojom::PotentiallyOpaqueBoolPtr> {};


template <>
struct BLINK_COMMON_EXPORT UnionTraits<::blink::mojom::PotentiallyOpaqueAdAuctionData::DataView,
                                        ::blink::mojom::PotentiallyOpaqueAdAuctionDataPtr> {};


template <>
struct BLINK_COMMON_EXPORT UnionTraits<::blink::mojom::PotentiallyOpaqueConfigVector::DataView,
                                        ::blink::mojom::PotentiallyOpaqueConfigVectorPtr> {};


template <>
struct BLINK_COMMON_EXPORT UnionTraits<::blink::mojom::PotentiallyOpaqueURNConfigVector::DataView,
                                        ::blink::mojom::PotentiallyOpaqueURNConfigVectorPtr> {};


template <>
struct BLINK_COMMON_EXPORT UnionTraits<::blink::mojom::PotentiallyOpaqueSharedStorageBudgetMetadata::DataView,
                                        ::blink::mojom::PotentiallyOpaqueSharedStorageBudgetMetadataPtr> {};

}  // namespace mojo

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_FENCED_FRAME_FENCED_FRAME_CONFIG_MOJOM_H_