chromium/out/Default/gen/services/service_manager/public/mojom/service.mojom-blink.cc

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

#include "services/service_manager/public/mojom/service.mojom-blink-import-headers.h"
#include "services/service_manager/public/mojom/service.mojom-blink-test-utils.h"
#include "mojo/public/cpp/bindings/lib/wtf_serialization.h"


namespace service_manager::mojom::blink {
BindSourceInfo::BindSourceInfo()
    :{}

BindSourceInfo::BindSourceInfo(
    ::service_manager::mojom::blink::IdentityPtr identity_in,
    ::service_manager::mojom::blink::CapabilitySetPtr required_capabilities_in)
    :{}

BindSourceInfo::~BindSourceInfo() = default;

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t Service::OnStart_Sym::IPCStableHash() {}
uint32_t Service::OnBindInterface_Sym::IPCStableHash() {}
uint32_t Service::CreatePackagedServiceInstance_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class Service_OnStart_ForwardToCallback
    : public mojo::MessageReceiver {};

class Service_OnBindInterface_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void ServiceProxy::OnStart(
    ::service_manager::mojom::blink::IdentityPtr in_identity, OnStartCallback callback) {}

void ServiceProxy::OnBindInterface(
    BindSourceInfoPtr in_source, const WTF::String& in_interface_name, ::mojo::ScopedMessagePipeHandle in_interface_pipe, OnBindInterfaceCallback callback) {}

void ServiceProxy::CreatePackagedServiceInstance(
    ::service_manager::mojom::blink::IdentityPtr in_identity, ::mojo::PendingReceiver<Service> in_receiver, ::mojo::PendingRemote<::service_manager::mojom::blink::ProcessMetadata> in_metadata) {}
class Service_OnStart_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void Service_OnStart_ProxyToResponder::Run(
    ::mojo::PendingReceiver<::service_manager::mojom::blink::Connector> in_connector_receiver, ::mojo::PendingAssociatedReceiver<::service_manager::mojom::blink::ServiceControl> in_control_receiver) {}
class Service_OnBindInterface_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void Service_OnBindInterface_ProxyToResponder::Run(
    ) {}

// static
bool ServiceStubDispatch::Accept(
    Service* impl,
    mojo::Message* message) {}

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

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

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


}  // service_manager::mojom::blink


namespace mojo {


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


void ServiceInterceptorForTesting::OnStart(::service_manager::mojom::blink::IdentityPtr identity, OnStartCallback callback) {}
void ServiceInterceptorForTesting::OnBindInterface(BindSourceInfoPtr source, const WTF::String& interface_name, ::mojo::ScopedMessagePipeHandle interface_pipe, OnBindInterfaceCallback callback) {}
void ServiceInterceptorForTesting::CreatePackagedServiceInstance(::service_manager::mojom::blink::IdentityPtr identity, ::mojo::PendingReceiver<Service> receiver, ::mojo::PendingRemote<::service_manager::mojom::blink::ProcessMetadata> metadata) {}
ServiceAsyncWaiter::ServiceAsyncWaiter(
    Service* proxy) :{}

ServiceAsyncWaiter::~ServiceAsyncWaiter() = default;

void ServiceAsyncWaiter::OnStart(
    ::service_manager::mojom::blink::IdentityPtr identity, ::mojo::PendingReceiver<::service_manager::mojom::blink::Connector>* out_connector_receiver, ::mojo::PendingAssociatedReceiver<::service_manager::mojom::blink::ServiceControl>* out_control_receiver) {}



void ServiceAsyncWaiter::OnBindInterface(
    BindSourceInfoPtr source, const WTF::String& interface_name, ::mojo::ScopedMessagePipeHandle interface_pipe) {}








}  // service_manager::mojom::blink


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