chromium/out/Default/gen/components/commerce/core/internals/mojom/commerce_internals.mojom.cc

// components/commerce/core/internals/mojom/commerce_internals.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 "components/commerce/core/internals/mojom/commerce_internals.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 "components/commerce/core/internals/mojom/commerce_internals.mojom-params-data.h"
#include "components/commerce/core/internals/mojom/commerce_internals.mojom-shared-message-ids.h"

#include "components/commerce/core/internals/mojom/commerce_internals.mojom-import-headers.h"
#include "components/commerce/core/internals/mojom/commerce_internals.mojom-test-utils.h"


namespace commerce::mojom {
EligibleEntry::EligibleEntry()
    :{}

EligibleEntry::EligibleEntry(
    bool value_in,
    bool expected_value_in)
    :{}

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

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

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

ShoppingListEligibleDetail::ShoppingListEligibleDetail(
    EligibleEntryPtr is_region_locked_feature_enabled_in,
    EligibleEntryPtr is_shopping_list_allowed_for_enterprise_in,
    EligibleEntryPtr is_account_checker_valid_in,
    EligibleEntryPtr is_signed_in_in,
    EligibleEntryPtr is_syncing_bookmarks_in,
    EligibleEntryPtr is_anonymized_url_data_collection_enabled_in,
    EligibleEntryPtr is_subject_to_parental_controls_in)
    :{}

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

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

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

Subscription::Subscription(
    uint64_t cluster_id_in,
    std::vector<::shopping_service::mojom::BookmarkProductInfoPtr> product_infos_in)
    :{}

Subscription::~Subscription() = default;

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

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

ProductSpecificationsSet::ProductSpecificationsSet(
    const std::string& uuid_in,
    const std::string& name_in,
    const std::string& creation_time_in,
    const std::string& update_time_in,
    std::vector<::shopping_service::mojom::UrlInfoPtr> url_infos_in)
    :{}

ProductSpecificationsSet::~ProductSpecificationsSet() = default;

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t CommerceInternalsHandlerFactory::CreateCommerceInternalsHandler_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void CommerceInternalsHandlerFactoryProxy::CreateCommerceInternalsHandler(
    ::mojo::PendingRemote<CommerceInternalsPage> in_page, ::mojo::PendingReceiver<CommerceInternalsHandler> in_handler) {}

// static
bool CommerceInternalsHandlerFactoryStubDispatch::Accept(
    CommerceInternalsHandlerFactory* impl,
    mojo::Message* message) {}

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

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

const char CommerceInternalsHandler::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t CommerceInternalsHandler::GetIsShoppingListEligible_Sym::IPCStableHash() {}
uint32_t CommerceInternalsHandler::GetShoppingListEligibleDetails_Sym::IPCStableHash() {}
uint32_t CommerceInternalsHandler::ResetPriceTrackingEmailPref_Sym::IPCStableHash() {}
uint32_t CommerceInternalsHandler::GetProductInfoForUrl_Sym::IPCStableHash() {}
uint32_t CommerceInternalsHandler::GetSubscriptionDetails_Sym::IPCStableHash() {}
uint32_t CommerceInternalsHandler::GetProductSpecificationsDetails_Sym::IPCStableHash() {}
uint32_t CommerceInternalsHandler::ResetProductSpecifications_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class CommerceInternalsHandler_GetIsShoppingListEligible_ForwardToCallback
    : public mojo::MessageReceiver {};

class CommerceInternalsHandler_GetShoppingListEligibleDetails_ForwardToCallback
    : public mojo::MessageReceiver {};

class CommerceInternalsHandler_GetProductInfoForUrl_ForwardToCallback
    : public mojo::MessageReceiver {};

class CommerceInternalsHandler_GetSubscriptionDetails_ForwardToCallback
    : public mojo::MessageReceiver {};

class CommerceInternalsHandler_GetProductSpecificationsDetails_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void CommerceInternalsHandlerProxy::GetIsShoppingListEligible(
    GetIsShoppingListEligibleCallback callback) {}

void CommerceInternalsHandlerProxy::GetShoppingListEligibleDetails(
    GetShoppingListEligibleDetailsCallback callback) {}

void CommerceInternalsHandlerProxy::ResetPriceTrackingEmailPref(
    ) {}

void CommerceInternalsHandlerProxy::GetProductInfoForUrl(
    const ::GURL& in_url, GetProductInfoForUrlCallback callback) {}

void CommerceInternalsHandlerProxy::GetSubscriptionDetails(
    GetSubscriptionDetailsCallback callback) {}

void CommerceInternalsHandlerProxy::GetProductSpecificationsDetails(
    GetProductSpecificationsDetailsCallback callback) {}

void CommerceInternalsHandlerProxy::ResetProductSpecifications(
    ) {}
class CommerceInternalsHandler_GetIsShoppingListEligible_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CommerceInternalsHandler_GetIsShoppingListEligible_ProxyToResponder::Run(
    bool in_eligible) {}
class CommerceInternalsHandler_GetShoppingListEligibleDetails_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CommerceInternalsHandler_GetShoppingListEligibleDetails_ProxyToResponder::Run(
    ShoppingListEligibleDetailPtr in_detail) {}
class CommerceInternalsHandler_GetProductInfoForUrl_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CommerceInternalsHandler_GetProductInfoForUrl_ProxyToResponder::Run(
    ::shopping_service::mojom::ProductInfoPtr in_info) {}
class CommerceInternalsHandler_GetSubscriptionDetails_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CommerceInternalsHandler_GetSubscriptionDetails_ProxyToResponder::Run(
    std::vector<SubscriptionPtr> in_subscriptions) {}
class CommerceInternalsHandler_GetProductSpecificationsDetails_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CommerceInternalsHandler_GetProductSpecificationsDetails_ProxyToResponder::Run(
    std::vector<ProductSpecificationsSetPtr> in_product_specifications_set) {}

// static
bool CommerceInternalsHandlerStubDispatch::Accept(
    CommerceInternalsHandler* impl,
    mojo::Message* message) {}

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

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

bool CommerceInternalsHandlerResponseValidator::Accept(mojo::Message* message) {}
const char CommerceInternalsPage::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t CommerceInternalsPage::OnShoppingListEligibilityChanged_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void CommerceInternalsPageProxy::OnShoppingListEligibilityChanged(
    bool in_eligible) {}

// static
bool CommerceInternalsPageStubDispatch::Accept(
    CommerceInternalsPage* impl,
    mojo::Message* message) {}

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

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



}  // commerce::mojom


namespace mojo {


// static
bool StructTraits<::commerce::mojom::EligibleEntry::DataView, ::commerce::mojom::EligibleEntryPtr>::Read(
    ::commerce::mojom::EligibleEntry::DataView input,
    ::commerce::mojom::EligibleEntryPtr* output) {}


// static
bool StructTraits<::commerce::mojom::ShoppingListEligibleDetail::DataView, ::commerce::mojom::ShoppingListEligibleDetailPtr>::Read(
    ::commerce::mojom::ShoppingListEligibleDetail::DataView input,
    ::commerce::mojom::ShoppingListEligibleDetailPtr* output) {}


// static
bool StructTraits<::commerce::mojom::Subscription::DataView, ::commerce::mojom::SubscriptionPtr>::Read(
    ::commerce::mojom::Subscription::DataView input,
    ::commerce::mojom::SubscriptionPtr* output) {}


// static
bool StructTraits<::commerce::mojom::ProductSpecificationsSet::DataView, ::commerce::mojom::ProductSpecificationsSetPtr>::Read(
    ::commerce::mojom::ProductSpecificationsSet::DataView input,
    ::commerce::mojom::ProductSpecificationsSetPtr* 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 commerce::mojom {


void CommerceInternalsHandlerFactoryInterceptorForTesting::CreateCommerceInternalsHandler(::mojo::PendingRemote<CommerceInternalsPage> page, ::mojo::PendingReceiver<CommerceInternalsHandler> handler) {}
CommerceInternalsHandlerFactoryAsyncWaiter::CommerceInternalsHandlerFactoryAsyncWaiter(
    CommerceInternalsHandlerFactory* proxy) :{}

CommerceInternalsHandlerFactoryAsyncWaiter::~CommerceInternalsHandlerFactoryAsyncWaiter() = default;




void CommerceInternalsHandlerInterceptorForTesting::GetIsShoppingListEligible(GetIsShoppingListEligibleCallback callback) {}
void CommerceInternalsHandlerInterceptorForTesting::GetShoppingListEligibleDetails(GetShoppingListEligibleDetailsCallback callback) {}
void CommerceInternalsHandlerInterceptorForTesting::ResetPriceTrackingEmailPref() {}
void CommerceInternalsHandlerInterceptorForTesting::GetProductInfoForUrl(const ::GURL& url, GetProductInfoForUrlCallback callback) {}
void CommerceInternalsHandlerInterceptorForTesting::GetSubscriptionDetails(GetSubscriptionDetailsCallback callback) {}
void CommerceInternalsHandlerInterceptorForTesting::GetProductSpecificationsDetails(GetProductSpecificationsDetailsCallback callback) {}
void CommerceInternalsHandlerInterceptorForTesting::ResetProductSpecifications() {}
CommerceInternalsHandlerAsyncWaiter::CommerceInternalsHandlerAsyncWaiter(
    CommerceInternalsHandler* proxy) :{}

CommerceInternalsHandlerAsyncWaiter::~CommerceInternalsHandlerAsyncWaiter() = default;

void CommerceInternalsHandlerAsyncWaiter::GetIsShoppingListEligible(
    bool* out_eligible) {}

bool CommerceInternalsHandlerAsyncWaiter::GetIsShoppingListEligible(
    ) {}

void CommerceInternalsHandlerAsyncWaiter::GetShoppingListEligibleDetails(
    ShoppingListEligibleDetailPtr* out_detail) {}

ShoppingListEligibleDetailPtr CommerceInternalsHandlerAsyncWaiter::GetShoppingListEligibleDetails(
    ) {}

void CommerceInternalsHandlerAsyncWaiter::GetProductInfoForUrl(
    const ::GURL& url, ::shopping_service::mojom::ProductInfoPtr* out_info) {}

::shopping_service::mojom::ProductInfoPtr CommerceInternalsHandlerAsyncWaiter::GetProductInfoForUrl(
    const ::GURL& url) {}

void CommerceInternalsHandlerAsyncWaiter::GetSubscriptionDetails(
    std::vector<SubscriptionPtr>* out_subscriptions) {}

std::vector<SubscriptionPtr> CommerceInternalsHandlerAsyncWaiter::GetSubscriptionDetails(
    ) {}

void CommerceInternalsHandlerAsyncWaiter::GetProductSpecificationsDetails(
    std::vector<ProductSpecificationsSetPtr>* out_product_specifications_set) {}

std::vector<ProductSpecificationsSetPtr> CommerceInternalsHandlerAsyncWaiter::GetProductSpecificationsDetails(
    ) {}




void CommerceInternalsPageInterceptorForTesting::OnShoppingListEligibilityChanged(bool eligible) {}
CommerceInternalsPageAsyncWaiter::CommerceInternalsPageAsyncWaiter(
    CommerceInternalsPage* proxy) :{}

CommerceInternalsPageAsyncWaiter::~CommerceInternalsPageAsyncWaiter() = default;






}  // commerce::mojom


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