chromium/out/Default/gen/content/common/child_process.mojom.cc

// content/common/child_process.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/common/child_process.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/common/child_process.mojom-params-data.h"
#include "content/common/child_process.mojom-shared-message-ids.h"

#include "content/common/child_process.mojom-import-headers.h"
#include "content/common/child_process.mojom-test-utils.h"


namespace content::mojom {
const char ChildProcessHost::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t ChildProcessHost::Ping_Sym::IPCStableHash() {}
uint32_t ChildProcessHost::BindHostReceiver_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class ChildProcessHost_Ping_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void ChildProcessHostProxy::Ping(
    PingCallback callback) {}

void ChildProcessHostProxy::BindHostReceiver(
    ::mojo::GenericPendingReceiver in_receiver) {}
class ChildProcessHost_Ping_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void ChildProcessHost_Ping_ProxyToResponder::Run(
    ) {}

// static
bool ChildProcessHostStubDispatch::Accept(
    ChildProcessHost* impl,
    mojo::Message* message) {}

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

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t ChildProcess::ProcessShutdown_Sym::IPCStableHash() {}
uint32_t ChildProcess::SetIPCLoggingEnabled_Sym::IPCStableHash() {}
uint32_t ChildProcess::GetBackgroundTracingAgentProvider_Sym::IPCStableHash() {}
uint32_t ChildProcess::EnableSystemTracingService_Sym::IPCStableHash() {}
uint32_t ChildProcess::CrashHungProcess_Sym::IPCStableHash() {}
uint32_t ChildProcess::BindServiceInterface_Sym::IPCStableHash() {}
uint32_t ChildProcess::BindReceiver_Sym::IPCStableHash() {}
uint32_t ChildProcess::SetPseudonymizationSalt_Sym::IPCStableHash() {}
uint32_t ChildProcess::SetBatterySaverMode_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void ChildProcessProxy::ProcessShutdown(
    ) {}

void ChildProcessProxy::SetIPCLoggingEnabled(
    bool in_on) {}

void ChildProcessProxy::GetBackgroundTracingAgentProvider(
    ::mojo::PendingReceiver<::tracing::mojom::BackgroundTracingAgentProvider> in_receiver) {}

void ChildProcessProxy::EnableSystemTracingService(
    ::mojo::PendingRemote<::tracing::mojom::SystemTracingService> in_remote) {}

void ChildProcessProxy::CrashHungProcess(
    ) {}

void ChildProcessProxy::BindServiceInterface(
    ::mojo::GenericPendingReceiver in_receiver) {}

void ChildProcessProxy::BindReceiver(
    ::mojo::GenericPendingReceiver in_receiver) {}

void ChildProcessProxy::SetPseudonymizationSalt(
    uint32_t in_salt) {}

void ChildProcessProxy::SetBatterySaverMode(
    bool in_battery_saver_mode_enabled) {}

// static
bool ChildProcessStubDispatch::Accept(
    ChildProcess* impl,
    mojo::Message* message) {}

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

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



}  // content::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 content::mojom {


void ChildProcessHostInterceptorForTesting::Ping(PingCallback callback) {}
void ChildProcessHostInterceptorForTesting::BindHostReceiver(::mojo::GenericPendingReceiver receiver) {}
ChildProcessHostAsyncWaiter::ChildProcessHostAsyncWaiter(
    ChildProcessHost* proxy) :{}

ChildProcessHostAsyncWaiter::~ChildProcessHostAsyncWaiter() = default;

void ChildProcessHostAsyncWaiter::Ping(
    ) {}






void ChildProcessInterceptorForTesting::ProcessShutdown() {}
void ChildProcessInterceptorForTesting::SetIPCLoggingEnabled(bool on) {}
void ChildProcessInterceptorForTesting::GetBackgroundTracingAgentProvider(::mojo::PendingReceiver<::tracing::mojom::BackgroundTracingAgentProvider> receiver) {}
void ChildProcessInterceptorForTesting::EnableSystemTracingService(::mojo::PendingRemote<::tracing::mojom::SystemTracingService> remote) {}
void ChildProcessInterceptorForTesting::CrashHungProcess() {}
void ChildProcessInterceptorForTesting::BindServiceInterface(::mojo::GenericPendingReceiver receiver) {}
void ChildProcessInterceptorForTesting::BindReceiver(::mojo::GenericPendingReceiver receiver) {}
void ChildProcessInterceptorForTesting::SetPseudonymizationSalt(uint32_t salt) {}
void ChildProcessInterceptorForTesting::SetBatterySaverMode(bool battery_saver_mode_enabled) {}
ChildProcessAsyncWaiter::ChildProcessAsyncWaiter(
    ChildProcess* proxy) :{}

ChildProcessAsyncWaiter::~ChildProcessAsyncWaiter() = default;






}  // content::mojom


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