chromium/out/Default/gen/third_party/blink/public/mojom/subapps/sub_apps_service.mojom.cc

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

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


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

SubAppsServiceAddParameters::SubAppsServiceAddParameters(
    const std::string& manifest_id_path_in,
    const std::string& install_url_path_in)
    :{}

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

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

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

SubAppsServiceAddResult::SubAppsServiceAddResult(
    const std::string& manifest_id_path_in,
    SubAppsServiceResultCode result_code_in)
    :{}

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

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

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

SubAppsServiceListResult::SubAppsServiceListResult(
    SubAppsServiceResultCode result_code_in,
    std::vector<SubAppsServiceListResultEntryPtr> sub_apps_list_in)
    :{}

SubAppsServiceListResult::~SubAppsServiceListResult() = default;

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

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

SubAppsServiceListResultEntry::SubAppsServiceListResultEntry(
    const std::string& manifest_id_path_in,
    const std::string& app_name_in)
    :{}

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

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

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

SubAppsServiceRemoveResult::SubAppsServiceRemoveResult(
    const std::string& manifest_id_path_in,
    SubAppsServiceResultCode result_code_in)
    :{}

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

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t SubAppsService::Add_Sym::IPCStableHash() {}
uint32_t SubAppsService::List_Sym::IPCStableHash() {}
uint32_t SubAppsService::Remove_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class SubAppsService_Add_ForwardToCallback
    : public mojo::MessageReceiver {};

class SubAppsService_List_ForwardToCallback
    : public mojo::MessageReceiver {};

class SubAppsService_Remove_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void SubAppsServiceProxy::Add(
    std::vector<SubAppsServiceAddParametersPtr> in_sub_apps_to_add, AddCallback callback) {}

void SubAppsServiceProxy::List(
    ListCallback callback) {}

void SubAppsServiceProxy::Remove(
    const std::vector<std::string>& in_manifest_id_paths, RemoveCallback callback) {}
class SubAppsService_Add_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void SubAppsService_Add_ProxyToResponder::Run(
    std::vector<SubAppsServiceAddResultPtr> in_result) {}
class SubAppsService_List_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void SubAppsService_List_ProxyToResponder::Run(
    SubAppsServiceListResultPtr in_result) {}
class SubAppsService_Remove_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void SubAppsService_Remove_ProxyToResponder::Run(
    std::vector<SubAppsServiceRemoveResultPtr> in_result) {}

// static
bool SubAppsServiceStubDispatch::Accept(
    SubAppsService* impl,
    mojo::Message* message) {}

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

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

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


}  // blink::mojom


namespace mojo {


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


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


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


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


// static
bool StructTraits<::blink::mojom::SubAppsServiceRemoveResult::DataView, ::blink::mojom::SubAppsServiceRemoveResultPtr>::Read(
    ::blink::mojom::SubAppsServiceRemoveResult::DataView input,
    ::blink::mojom::SubAppsServiceRemoveResultPtr* 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 {


void SubAppsServiceInterceptorForTesting::Add(std::vector<SubAppsServiceAddParametersPtr> sub_apps_to_add, AddCallback callback) {}
void SubAppsServiceInterceptorForTesting::List(ListCallback callback) {}
void SubAppsServiceInterceptorForTesting::Remove(const std::vector<std::string>& manifest_id_paths, RemoveCallback callback) {}
SubAppsServiceAsyncWaiter::SubAppsServiceAsyncWaiter(
    SubAppsService* proxy) :{}

SubAppsServiceAsyncWaiter::~SubAppsServiceAsyncWaiter() = default;

void SubAppsServiceAsyncWaiter::Add(
    std::vector<SubAppsServiceAddParametersPtr> sub_apps_to_add, std::vector<SubAppsServiceAddResultPtr>* out_result) {}

std::vector<SubAppsServiceAddResultPtr> SubAppsServiceAsyncWaiter::Add(
    std::vector<SubAppsServiceAddParametersPtr> sub_apps_to_add) {}

void SubAppsServiceAsyncWaiter::List(
    SubAppsServiceListResultPtr* out_result) {}

SubAppsServiceListResultPtr SubAppsServiceAsyncWaiter::List(
    ) {}

void SubAppsServiceAsyncWaiter::Remove(
    const std::vector<std::string>& manifest_id_paths, std::vector<SubAppsServiceRemoveResultPtr>* out_result) {}

std::vector<SubAppsServiceRemoveResultPtr> SubAppsServiceAsyncWaiter::Remove(
    const std::vector<std::string>& manifest_id_paths) {}






}  // blink::mojom


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