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

// third_party/blink/public/mojom/fenced_frame/fenced_frame_config.mojom-blink.cc 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.

#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif

#include "third_party/blink/public/mojom/fenced_frame/fenced_frame_config.mojom-blink.h"

#include <math.h>
#include <stdint.h>
#include <utility>

#include "base/debug/alias.h"
#include "base/hash/md5_constexpr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/typed_macros.h"
#include "mojo/public/cpp/bindings/features.h"
#include "mojo/public/cpp/bindings/lib/default_construct_tag_internal.h"
#include "mojo/public/cpp/bindings/lib/generated_code_util.h"
#include "mojo/public/cpp/bindings/lib/message_internal.h"
#include "mojo/public/cpp/bindings/lib/proxy_to_responder.h"
#include "mojo/public/cpp/bindings/lib/send_message_helper.h"
#include "mojo/public/cpp/bindings/lib/serialization_util.h"
#include "mojo/public/cpp/bindings/lib/unserialized_message_context.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/mojo_buildflags.h"
#include "mojo/public/cpp/bindings/urgent_message_scope.h"
#include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"

#include "third_party/blink/public/mojom/fenced_frame/fenced_frame_config.mojom-params-data.h"
#include "third_party/blink/public/mojom/fenced_frame/fenced_frame_config.mojom-shared-message-ids.h"

#include "third_party/blink/public/mojom/fenced_frame/fenced_frame_config.mojom-blink-import-headers.h"
#include "third_party/blink/public/mojom/fenced_frame/fenced_frame_config.mojom-blink-test-utils.h"
#include "mojo/public/cpp/bindings/lib/wtf_serialization.h"
#include "third_party/blink/common/permissions_policy/permissions_policy_mojom_traits.h"


namespace blink::mojom::blink {
AdAuctionData::AdAuctionData()
    :{}

AdAuctionData::AdAuctionData(
    const ::scoped_refptr<const ::blink::SecurityOrigin>& interest_group_owner_in,
    const WTF::String& interest_group_name_in)
    :{}

AdAuctionData::~AdAuctionData() = default;

void AdAuctionData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool AdAuctionData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
URNConfigPair::URNConfigPair()
    :{}

URNConfigPair::URNConfigPair(
    const ::blink::KURL& urn_in,
    const ::blink::FencedFrame::RedactedFencedFrameConfig& config_in)
    :{}

URNConfigPair::~URNConfigPair() = default;

void URNConfigPair::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool URNConfigPair::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
SharedStorageBudgetMetadata::SharedStorageBudgetMetadata()
    :{}

SharedStorageBudgetMetadata::SharedStorageBudgetMetadata(
    const ::blink::BlinkSchemefulSite& site_in,
    double budget_to_charge_in,
    bool top_navigated_in)
    :{}

SharedStorageBudgetMetadata::~SharedStorageBudgetMetadata() = default;

void SharedStorageBudgetMetadata::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool SharedStorageBudgetMetadata::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
ParentPermissionsInfo::ParentPermissionsInfo()
    :{}

ParentPermissionsInfo::ParentPermissionsInfo(
    WTF::Vector<::blink::ParsedPermissionsPolicyDeclaration> parsed_permissions_policy_in,
    const ::scoped_refptr<const ::blink::SecurityOrigin>& origin_in)
    :{}

ParentPermissionsInfo::~ParentPermissionsInfo() = default;

void ParentPermissionsInfo::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool ParentPermissionsInfo::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
FencedFrameConfig::FencedFrameConfig()
    :{}

FencedFrameConfig::FencedFrameConfig(
    const std::optional<::blink::FencedFrame::RedactedFencedFrameProperty<GURL>>& mapped_url_in,
    const std::optional<::blink::FencedFrame::RedactedFencedFrameProperty<::gfx::Size>>& container_size_in,
    const std::optional<::blink::FencedFrame::RedactedFencedFrameProperty<::gfx::Size>>& content_size_in,
    const std::optional<::blink::FencedFrame::RedactedFencedFrameProperty<bool>>& deprecated_should_freeze_initial_size_in,
    const std::optional<::blink::FencedFrame::RedactedFencedFrameProperty<::blink::FencedFrame::AdAuctionData>>& ad_auction_data_in,
    const std::optional<::blink::FencedFrame::RedactedFencedFrameProperty<std::vector<::blink::FencedFrame::RedactedFencedFrameConfig>>>& nested_configs_in,
    const std::optional<::blink::FencedFrame::RedactedFencedFrameProperty<::blink::FencedFrame::SharedStorageBudgetMetadata>>& shared_storage_budget_metadata_in,
    const ::blink::KURL& urn_uuid_in,
    ::blink::FencedFrame::DeprecatedFencedFrameMode mode_in,
    WTF::Vector<::blink::mojom::blink::PermissionsPolicyFeature> effective_enabled_permissions_in,
    ParentPermissionsInfoPtr parent_permissions_info_in)
    :{}

FencedFrameConfig::~FencedFrameConfig() = default;

void FencedFrameConfig::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool FencedFrameConfig::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
FencedFrameProperties::FencedFrameProperties()
    :{}

FencedFrameProperties::FencedFrameProperties(
    const std::optional<::blink::FencedFrame::RedactedFencedFrameProperty<GURL>>& mapped_url_in,
    const std::optional<::blink::FencedFrame::RedactedFencedFrameProperty<::gfx::Size>>& container_size_in,
    const std::optional<::blink::FencedFrame::RedactedFencedFrameProperty<::gfx::Size>>& content_size_in,
    const std::optional<::blink::FencedFrame::RedactedFencedFrameProperty<bool>>& deprecated_should_freeze_initial_size_in,
    const std::optional<::blink::FencedFrame::RedactedFencedFrameProperty<::blink::FencedFrame::AdAuctionData>>& ad_auction_data_in,
    PotentiallyOpaqueURNConfigVectorPtr nested_urn_config_pairs_in,
    const std::optional<::blink::FencedFrame::RedactedFencedFrameProperty<::blink::FencedFrame::SharedStorageBudgetMetadata>>& shared_storage_budget_metadata_in,
    bool has_fenced_frame_reporting_in,
    ::blink::FencedFrame::DeprecatedFencedFrameMode mode_in,
    WTF::Vector<::blink::mojom::blink::PermissionsPolicyFeature> effective_enabled_permissions_in,
    ParentPermissionsInfoPtr parent_permissions_info_in,
    bool can_disable_untrusted_network_in,
    bool is_cross_origin_content_in,
    bool allow_cross_origin_event_reporting_in)
    :{}

FencedFrameProperties::~FencedFrameProperties() = default;

void FencedFrameProperties::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool FencedFrameProperties::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
PotentiallyOpaqueURL::PotentiallyOpaqueURL() :{}

PotentiallyOpaqueURL::~PotentiallyOpaqueURL() {}


void PotentiallyOpaqueURL::set_transparent(
    const ::blink::KURL& transparent) {}
void PotentiallyOpaqueURL::set_opaque(
    ::blink::FencedFrame::Opaque opaque) {}

void PotentiallyOpaqueURL::DestroyActive() {}

bool PotentiallyOpaqueURL::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
PotentiallyOpaqueSize::PotentiallyOpaqueSize() :{}

PotentiallyOpaqueSize::~PotentiallyOpaqueSize() {}


void PotentiallyOpaqueSize::set_transparent(
    const ::gfx::Size& transparent) {}
void PotentiallyOpaqueSize::set_opaque(
    ::blink::FencedFrame::Opaque opaque) {}

void PotentiallyOpaqueSize::DestroyActive() {}

bool PotentiallyOpaqueSize::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
PotentiallyOpaqueBool::PotentiallyOpaqueBool() :{}

PotentiallyOpaqueBool::~PotentiallyOpaqueBool() {}


void PotentiallyOpaqueBool::set_transparent(
    bool transparent) {}
void PotentiallyOpaqueBool::set_opaque(
    ::blink::FencedFrame::Opaque opaque) {}

void PotentiallyOpaqueBool::DestroyActive() {}

bool PotentiallyOpaqueBool::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
PotentiallyOpaqueAdAuctionData::PotentiallyOpaqueAdAuctionData() :{}

PotentiallyOpaqueAdAuctionData::~PotentiallyOpaqueAdAuctionData() {}


void PotentiallyOpaqueAdAuctionData::set_transparent(
    const ::blink::FencedFrame::AdAuctionData& transparent) {}
void PotentiallyOpaqueAdAuctionData::set_opaque(
    ::blink::FencedFrame::Opaque opaque) {}

void PotentiallyOpaqueAdAuctionData::DestroyActive() {}

bool PotentiallyOpaqueAdAuctionData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
PotentiallyOpaqueConfigVector::PotentiallyOpaqueConfigVector() :{}

PotentiallyOpaqueConfigVector::~PotentiallyOpaqueConfigVector() {}


void PotentiallyOpaqueConfigVector::set_transparent(
    WTF::Vector<::blink::FencedFrame::RedactedFencedFrameConfig> transparent) {}
void PotentiallyOpaqueConfigVector::set_opaque(
    ::blink::FencedFrame::Opaque opaque) {}

void PotentiallyOpaqueConfigVector::DestroyActive() {}

bool PotentiallyOpaqueConfigVector::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
PotentiallyOpaqueURNConfigVector::PotentiallyOpaqueURNConfigVector() :{}

PotentiallyOpaqueURNConfigVector::~PotentiallyOpaqueURNConfigVector() {}


void PotentiallyOpaqueURNConfigVector::set_transparent(
    WTF::Vector<URNConfigPairPtr> transparent) {}
void PotentiallyOpaqueURNConfigVector::set_opaque(
    ::blink::FencedFrame::Opaque opaque) {}

void PotentiallyOpaqueURNConfigVector::DestroyActive() {}

bool PotentiallyOpaqueURNConfigVector::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
PotentiallyOpaqueSharedStorageBudgetMetadata::PotentiallyOpaqueSharedStorageBudgetMetadata() :{}

PotentiallyOpaqueSharedStorageBudgetMetadata::~PotentiallyOpaqueSharedStorageBudgetMetadata() {}


void PotentiallyOpaqueSharedStorageBudgetMetadata::set_transparent(
    const ::blink::FencedFrame::SharedStorageBudgetMetadata& transparent) {}
void PotentiallyOpaqueSharedStorageBudgetMetadata::set_opaque(
    ::blink::FencedFrame::Opaque opaque) {}

void PotentiallyOpaqueSharedStorageBudgetMetadata::DestroyActive() {}

bool PotentiallyOpaqueSharedStorageBudgetMetadata::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}


}  // blink::mojom::blink


namespace mojo {


// static
bool StructTraits<::blink::mojom::blink::AdAuctionData::DataView, ::blink::mojom::blink::AdAuctionDataPtr>::Read(
    ::blink::mojom::blink::AdAuctionData::DataView input,
    ::blink::mojom::blink::AdAuctionDataPtr* output) {}


// static
bool StructTraits<::blink::mojom::blink::URNConfigPair::DataView, ::blink::mojom::blink::URNConfigPairPtr>::Read(
    ::blink::mojom::blink::URNConfigPair::DataView input,
    ::blink::mojom::blink::URNConfigPairPtr* output) {}


// static
bool StructTraits<::blink::mojom::blink::SharedStorageBudgetMetadata::DataView, ::blink::mojom::blink::SharedStorageBudgetMetadataPtr>::Read(
    ::blink::mojom::blink::SharedStorageBudgetMetadata::DataView input,
    ::blink::mojom::blink::SharedStorageBudgetMetadataPtr* output) {}


// static
bool StructTraits<::blink::mojom::blink::ParentPermissionsInfo::DataView, ::blink::mojom::blink::ParentPermissionsInfoPtr>::Read(
    ::blink::mojom::blink::ParentPermissionsInfo::DataView input,
    ::blink::mojom::blink::ParentPermissionsInfoPtr* output) {}


// static
bool StructTraits<::blink::mojom::blink::FencedFrameConfig::DataView, ::blink::mojom::blink::FencedFrameConfigPtr>::Read(
    ::blink::mojom::blink::FencedFrameConfig::DataView input,
    ::blink::mojom::blink::FencedFrameConfigPtr* output) {}


// static
bool StructTraits<::blink::mojom::blink::FencedFrameProperties::DataView, ::blink::mojom::blink::FencedFramePropertiesPtr>::Read(
    ::blink::mojom::blink::FencedFrameProperties::DataView input,
    ::blink::mojom::blink::FencedFramePropertiesPtr* output) {}

// static
bool UnionTraits<::blink::mojom::blink::PotentiallyOpaqueURL::DataView, ::blink::mojom::blink::PotentiallyOpaqueURLPtr>::Read(
    ::blink::mojom::blink::PotentiallyOpaqueURL::DataView input,
    ::blink::mojom::blink::PotentiallyOpaqueURLPtr* output) {}

// static
bool UnionTraits<::blink::mojom::blink::PotentiallyOpaqueSize::DataView, ::blink::mojom::blink::PotentiallyOpaqueSizePtr>::Read(
    ::blink::mojom::blink::PotentiallyOpaqueSize::DataView input,
    ::blink::mojom::blink::PotentiallyOpaqueSizePtr* output) {}

// static
bool UnionTraits<::blink::mojom::blink::PotentiallyOpaqueBool::DataView, ::blink::mojom::blink::PotentiallyOpaqueBoolPtr>::Read(
    ::blink::mojom::blink::PotentiallyOpaqueBool::DataView input,
    ::blink::mojom::blink::PotentiallyOpaqueBoolPtr* output) {}

// static
bool UnionTraits<::blink::mojom::blink::PotentiallyOpaqueAdAuctionData::DataView, ::blink::mojom::blink::PotentiallyOpaqueAdAuctionDataPtr>::Read(
    ::blink::mojom::blink::PotentiallyOpaqueAdAuctionData::DataView input,
    ::blink::mojom::blink::PotentiallyOpaqueAdAuctionDataPtr* output) {}

// static
bool UnionTraits<::blink::mojom::blink::PotentiallyOpaqueConfigVector::DataView, ::blink::mojom::blink::PotentiallyOpaqueConfigVectorPtr>::Read(
    ::blink::mojom::blink::PotentiallyOpaqueConfigVector::DataView input,
    ::blink::mojom::blink::PotentiallyOpaqueConfigVectorPtr* output) {}

// static
bool UnionTraits<::blink::mojom::blink::PotentiallyOpaqueURNConfigVector::DataView, ::blink::mojom::blink::PotentiallyOpaqueURNConfigVectorPtr>::Read(
    ::blink::mojom::blink::PotentiallyOpaqueURNConfigVector::DataView input,
    ::blink::mojom::blink::PotentiallyOpaqueURNConfigVectorPtr* output) {}

// static
bool UnionTraits<::blink::mojom::blink::PotentiallyOpaqueSharedStorageBudgetMetadata::DataView, ::blink::mojom::blink::PotentiallyOpaqueSharedStorageBudgetMetadataPtr>::Read(
    ::blink::mojom::blink::PotentiallyOpaqueSharedStorageBudgetMetadata::DataView input,
    ::blink::mojom::blink::PotentiallyOpaqueSharedStorageBudgetMetadataPtr* output) {}

}  // namespace mojo


// Symbols declared in the -test-utils.h header are defined here instead of a
// separate .cc file to save compile time.


namespace blink::mojom::blink {




}  // blink::mojom::blink


#if defined(__clang__)
#pragma clang diagnostic pop
#endif