chromium/out/Default/gen/third_party/blink/public/mojom/digital_goods/digital_goods.mojom.cc

// third_party/blink/public/mojom/digital_goods/digital_goods.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 "third_party/blink/public/mojom/digital_goods/digital_goods.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 "third_party/blink/public/mojom/digital_goods/digital_goods.mojom-params-data.h"
#include "third_party/blink/public/mojom/digital_goods/digital_goods.mojom-shared-message-ids.h"

#include "third_party/blink/public/mojom/digital_goods/digital_goods.mojom-import-headers.h"
#include "third_party/blink/public/mojom/digital_goods/digital_goods.mojom-test-utils.h"


namespace payments::mojom {
const char DigitalGoods::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t DigitalGoods::GetDetails_Sym::IPCStableHash() {}
uint32_t DigitalGoods::ListPurchases_Sym::IPCStableHash() {}
uint32_t DigitalGoods::ListPurchaseHistory_Sym::IPCStableHash() {}
uint32_t DigitalGoods::Consume_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class DigitalGoods_GetDetails_ForwardToCallback
    : public mojo::MessageReceiver {};

class DigitalGoods_ListPurchases_ForwardToCallback
    : public mojo::MessageReceiver {};

class DigitalGoods_ListPurchaseHistory_ForwardToCallback
    : public mojo::MessageReceiver {};

class DigitalGoods_Consume_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void DigitalGoodsProxy::GetDetails(
    const std::vector<std::string>& in_item_ids, GetDetailsCallback callback) {}

void DigitalGoodsProxy::ListPurchases(
    ListPurchasesCallback callback) {}

void DigitalGoodsProxy::ListPurchaseHistory(
    ListPurchaseHistoryCallback callback) {}

void DigitalGoodsProxy::Consume(
    const std::string& in_purchase_token, ConsumeCallback callback) {}
class DigitalGoods_GetDetails_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void DigitalGoods_GetDetails_ProxyToResponder::Run(
    ::payments::mojom::BillingResponseCode in_code, std::vector<::payments::mojom::ItemDetailsPtr> in_item_details_list) {}
class DigitalGoods_ListPurchases_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void DigitalGoods_ListPurchases_ProxyToResponder::Run(
    ::payments::mojom::BillingResponseCode in_code, std::vector<::payments::mojom::PurchaseReferencePtr> in_purchase_reference_list) {}
class DigitalGoods_ListPurchaseHistory_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void DigitalGoods_ListPurchaseHistory_ProxyToResponder::Run(
    ::payments::mojom::BillingResponseCode in_code, std::vector<::payments::mojom::PurchaseReferencePtr> in_purchase_reference_list) {}
class DigitalGoods_Consume_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void DigitalGoods_Consume_ProxyToResponder::Run(
    ::payments::mojom::BillingResponseCode in_code) {}

// static
bool DigitalGoodsStubDispatch::Accept(
    DigitalGoods* impl,
    mojo::Message* message) {}

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

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t DigitalGoodsFactory::CreateDigitalGoods_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class DigitalGoodsFactory_CreateDigitalGoods_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void DigitalGoodsFactoryProxy::CreateDigitalGoods(
    const std::string& in_payment_method, CreateDigitalGoodsCallback callback) {}
class DigitalGoodsFactory_CreateDigitalGoods_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void DigitalGoodsFactory_CreateDigitalGoods_ProxyToResponder::Run(
    ::payments::mojom::CreateDigitalGoodsResponseCode in_code, ::mojo::PendingRemote<DigitalGoods> in_digital_goods) {}

// static
bool DigitalGoodsFactoryStubDispatch::Accept(
    DigitalGoodsFactory* impl,
    mojo::Message* message) {}

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

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

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


}  // payments::mojom


namespace mojo {

}  // namespace mojo


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


namespace payments::mojom {


void DigitalGoodsInterceptorForTesting::GetDetails(const std::vector<std::string>& item_ids, GetDetailsCallback callback) {}
void DigitalGoodsInterceptorForTesting::ListPurchases(ListPurchasesCallback callback) {}
void DigitalGoodsInterceptorForTesting::ListPurchaseHistory(ListPurchaseHistoryCallback callback) {}
void DigitalGoodsInterceptorForTesting::Consume(const std::string& purchase_token, ConsumeCallback callback) {}
DigitalGoodsAsyncWaiter::DigitalGoodsAsyncWaiter(
    DigitalGoods* proxy) :{}

DigitalGoodsAsyncWaiter::~DigitalGoodsAsyncWaiter() = default;

void DigitalGoodsAsyncWaiter::GetDetails(
    const std::vector<std::string>& item_ids, ::payments::mojom::BillingResponseCode* out_code, std::vector<::payments::mojom::ItemDetailsPtr>* out_item_details_list) {}



void DigitalGoodsAsyncWaiter::ListPurchases(
    ::payments::mojom::BillingResponseCode* out_code, std::vector<::payments::mojom::PurchaseReferencePtr>* out_purchase_reference_list) {}



void DigitalGoodsAsyncWaiter::ListPurchaseHistory(
    ::payments::mojom::BillingResponseCode* out_code, std::vector<::payments::mojom::PurchaseReferencePtr>* out_purchase_reference_list) {}



void DigitalGoodsAsyncWaiter::Consume(
    const std::string& purchase_token, ::payments::mojom::BillingResponseCode* out_code) {}

::payments::mojom::BillingResponseCode DigitalGoodsAsyncWaiter::Consume(
    const std::string& purchase_token) {}




void DigitalGoodsFactoryInterceptorForTesting::CreateDigitalGoods(const std::string& payment_method, CreateDigitalGoodsCallback callback) {}
DigitalGoodsFactoryAsyncWaiter::DigitalGoodsFactoryAsyncWaiter(
    DigitalGoodsFactory* proxy) :{}

DigitalGoodsFactoryAsyncWaiter::~DigitalGoodsFactoryAsyncWaiter() = default;

void DigitalGoodsFactoryAsyncWaiter::CreateDigitalGoods(
    const std::string& payment_method, ::payments::mojom::CreateDigitalGoodsResponseCode* out_code, ::mojo::PendingRemote<DigitalGoods>* out_digital_goods) {}








}  // payments::mojom


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