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

// third_party/blink/public/mojom/fenced_frame/fenced_frame_config.mojom-blink.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_BLINK_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_FENCED_FRAME_FENCED_FRAME_CONFIG_MOJOM_BLINK_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-blink-forward.h"  // IWYU pragma: export
#include "services/network/public/mojom/schemeful_site.mojom-blink.h"
#include "third_party/blink/public/mojom/permissions_policy/permissions_policy.mojom-blink.h"
#include "third_party/blink/public/mojom/permissions_policy/permissions_policy_feature.mojom-blink-forward.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-blink.h"
#include "url/mojom/url.mojom-blink.h"
#include "url/mojom/origin.mojom-blink.h"

#include "mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h"
#include "mojo/public/cpp/bindings/lib/wtf_hash_util.h"
#include "third_party/blink/renderer/platform/wtf/hash_functions.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"




#include "third_party/blink/public/common/fenced_frame/redacted_fenced_frame_config_mojom_traits.h"
#include "third_party/blink/renderer/platform/platform_export.h"




namespace blink::mojom::blink {











class PLATFORM_EXPORT PotentiallyOpaqueURL {};



class PLATFORM_EXPORT PotentiallyOpaqueSize {};



class PLATFORM_EXPORT PotentiallyOpaqueBool {};



class PLATFORM_EXPORT PotentiallyOpaqueAdAuctionData {};



class PLATFORM_EXPORT PotentiallyOpaqueConfigVector {};



class PLATFORM_EXPORT PotentiallyOpaqueURNConfigVector {};



class PLATFORM_EXPORT PotentiallyOpaqueSharedStorageBudgetMetadata {};





class PLATFORM_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 PLATFORM_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 PLATFORM_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 PLATFORM_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 PLATFORM_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 PLATFORM_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::blink

namespace mojo {


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


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


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


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


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


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


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


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


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


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


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


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


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

}  // namespace mojo

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_FENCED_FRAME_FENCED_FRAME_CONFIG_MOJOM_BLINK_H_