chromium/out/Default/gen/content/services/auction_worklet/public/mojom/auction_worklet_service.mojom.cc

// content/services/auction_worklet/public/mojom/auction_worklet_service.mojom.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 "content/services/auction_worklet/public/mojom/auction_worklet_service.mojom.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 "content/services/auction_worklet/public/mojom/auction_worklet_service.mojom-params-data.h"
#include "content/services/auction_worklet/public/mojom/auction_worklet_service.mojom-shared-message-ids.h"

#include "content/services/auction_worklet/public/mojom/auction_worklet_service.mojom-import-headers.h"
#include "content/services/auction_worklet/public/mojom/auction_worklet_service.mojom-test-utils.h"


namespace auction_worklet::mojom {
BrowserSignals::BrowserSignals()
    :{}

BrowserSignals::BrowserSignals(
    const ::url::Origin& top_frame_origin_in,
    const ::url::Origin& seller_in)
    :{}

BrowserSignals::~BrowserSignals() = default;

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

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

AuctionWorkletPermissionsPolicyState::AuctionWorkletPermissionsPolicyState(
    bool private_aggregation_allowed_in,
    bool shared_storage_allowed_in)
    :{}

AuctionWorkletPermissionsPolicyState::~AuctionWorkletPermissionsPolicyState() = default;
size_t AuctionWorkletPermissionsPolicyState::Hash(size_t seed) const {}

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

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

TrustedSignalsPublicKey::TrustedSignalsPublicKey(
    const std::string& key_in,
    uint8_t id_in)
    :{}

TrustedSignalsPublicKey::~TrustedSignalsPublicKey() = default;
size_t TrustedSignalsPublicKey::Hash(size_t seed) const {}

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

bool TrustedSignalsPublicKey::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
const char AuctionWorkletService::Name_[] =;

AuctionWorkletService::IPCStableHashFunction AuctionWorkletService::MessageToMethodInfo_(mojo::Message& message) {}


const char* AuctionWorkletService::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t AuctionWorkletService::LoadBidderWorklet_Sym::IPCStableHash() {}
uint32_t AuctionWorkletService::LoadSellerWorklet_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

AuctionWorkletServiceProxy::AuctionWorkletServiceProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void AuctionWorkletServiceProxy::LoadBidderWorklet(
    ::mojo::PendingReceiver<::auction_worklet::mojom::BidderWorklet> in_bidder_worklet, std::vector<::mojo::PendingRemote<::auction_worklet::mojom::AuctionSharedStorageHost>> in_shared_storage_hosts, bool in_pause_for_debugger_on_start, ::mojo::PendingRemote<::network::mojom::URLLoaderFactory> in_url_loader_factory, ::mojo::PendingRemote<::auction_worklet::mojom::AuctionNetworkEventsHandler> in_auction_network_events_handler, const ::GURL& in_script_source_url, const std::optional<::GURL>& in_wasm_helper_url, const std::optional<::GURL>& in_trusted_bidding_signals_url, const std::string& in_trusted_bidding_signals_slot_size_param, const ::url::Origin& in_top_window_origin, AuctionWorkletPermissionsPolicyStatePtr in_permissions_policy_state, std::optional<uint16_t> in_experiment_group_id, TrustedSignalsPublicKeyPtr in_public_key) {}

void AuctionWorkletServiceProxy::LoadSellerWorklet(
    ::mojo::PendingReceiver<::auction_worklet::mojom::SellerWorklet> in_seller_worklet, std::vector<::mojo::PendingRemote<::auction_worklet::mojom::AuctionSharedStorageHost>> in_shared_storage_hosts, bool in_pause_for_debugger_on_start, ::mojo::PendingRemote<::network::mojom::URLLoaderFactory> in_url_loader_factory, ::mojo::PendingRemote<::auction_worklet::mojom::AuctionNetworkEventsHandler> in_auction_network_events_handler, const ::GURL& in_script_source_url, const std::optional<::GURL>& in_trusted_scoring_signals_url, const ::url::Origin& in_top_window_origin, AuctionWorkletPermissionsPolicyStatePtr in_permissions_policy_state, std::optional<uint16_t> in_experiment_group_id) {}

// static
bool AuctionWorkletServiceStubDispatch::Accept(
    AuctionWorkletService* impl,
    mojo::Message* message) {}

// static
bool AuctionWorkletServiceStubDispatch::AcceptWithResponder(
    AuctionWorkletService* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kAuctionWorkletServiceValidationInfo[] =;

bool AuctionWorkletServiceRequestValidator::Accept(mojo::Message* message) {}



}  // auction_worklet::mojom


namespace mojo {


// static
bool StructTraits<::auction_worklet::mojom::BrowserSignals::DataView, ::auction_worklet::mojom::BrowserSignalsPtr>::Read(
    ::auction_worklet::mojom::BrowserSignals::DataView input,
    ::auction_worklet::mojom::BrowserSignalsPtr* output) {}


// static
bool StructTraits<::auction_worklet::mojom::AuctionWorkletPermissionsPolicyState::DataView, ::auction_worklet::mojom::AuctionWorkletPermissionsPolicyStatePtr>::Read(
    ::auction_worklet::mojom::AuctionWorkletPermissionsPolicyState::DataView input,
    ::auction_worklet::mojom::AuctionWorkletPermissionsPolicyStatePtr* output) {}


// static
bool StructTraits<::auction_worklet::mojom::TrustedSignalsPublicKey::DataView, ::auction_worklet::mojom::TrustedSignalsPublicKeyPtr>::Read(
    ::auction_worklet::mojom::TrustedSignalsPublicKey::DataView input,
    ::auction_worklet::mojom::TrustedSignalsPublicKeyPtr* 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 auction_worklet::mojom {


void AuctionWorkletServiceInterceptorForTesting::LoadBidderWorklet(::mojo::PendingReceiver<::auction_worklet::mojom::BidderWorklet> bidder_worklet, std::vector<::mojo::PendingRemote<::auction_worklet::mojom::AuctionSharedStorageHost>> shared_storage_hosts, bool pause_for_debugger_on_start, ::mojo::PendingRemote<::network::mojom::URLLoaderFactory> url_loader_factory, ::mojo::PendingRemote<::auction_worklet::mojom::AuctionNetworkEventsHandler> auction_network_events_handler, const ::GURL& script_source_url, const std::optional<::GURL>& wasm_helper_url, const std::optional<::GURL>& trusted_bidding_signals_url, const std::string& trusted_bidding_signals_slot_size_param, const ::url::Origin& top_window_origin, AuctionWorkletPermissionsPolicyStatePtr permissions_policy_state, std::optional<uint16_t> experiment_group_id, TrustedSignalsPublicKeyPtr public_key) {}
void AuctionWorkletServiceInterceptorForTesting::LoadSellerWorklet(::mojo::PendingReceiver<::auction_worklet::mojom::SellerWorklet> seller_worklet, std::vector<::mojo::PendingRemote<::auction_worklet::mojom::AuctionSharedStorageHost>> shared_storage_hosts, bool pause_for_debugger_on_start, ::mojo::PendingRemote<::network::mojom::URLLoaderFactory> url_loader_factory, ::mojo::PendingRemote<::auction_worklet::mojom::AuctionNetworkEventsHandler> auction_network_events_handler, const ::GURL& script_source_url, const std::optional<::GURL>& trusted_scoring_signals_url, const ::url::Origin& top_window_origin, AuctionWorkletPermissionsPolicyStatePtr permissions_policy_state, std::optional<uint16_t> experiment_group_id) {}
AuctionWorkletServiceAsyncWaiter::AuctionWorkletServiceAsyncWaiter(
    AuctionWorkletService* proxy) :{}

AuctionWorkletServiceAsyncWaiter::~AuctionWorkletServiceAsyncWaiter() = default;






}  // auction_worklet::mojom


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