chromium/out/Default/gen/ui/webui/resources/js/browser_command/browser_command.mojom.cc

// ui/webui/resources/js/browser_command/browser_command.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 "ui/webui/resources/js/browser_command/browser_command.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 "ui/webui/resources/js/browser_command/browser_command.mojom-params-data.h"
#include "ui/webui/resources/js/browser_command/browser_command.mojom-shared-message-ids.h"

#include "ui/webui/resources/js/browser_command/browser_command.mojom-import-headers.h"
#include "ui/webui/resources/js/browser_command/browser_command.mojom-test-utils.h"


namespace browser_command::mojom {
ClickInfo::ClickInfo()
    :{}

ClickInfo::ClickInfo(
    bool middle_button_in,
    bool alt_key_in,
    bool ctrl_key_in,
    bool meta_key_in,
    bool shift_key_in)
    :{}

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

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t CommandHandlerFactory::CreateBrowserCommandHandler_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void CommandHandlerFactoryProxy::CreateBrowserCommandHandler(
    ::mojo::PendingReceiver<CommandHandler> in_handler) {}

// static
bool CommandHandlerFactoryStubDispatch::Accept(
    CommandHandlerFactory* impl,
    mojo::Message* message) {}

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

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

const char CommandHandler::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t CommandHandler::CanExecuteCommand_Sym::IPCStableHash() {}
uint32_t CommandHandler::ExecuteCommand_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class CommandHandler_CanExecuteCommand_ForwardToCallback
    : public mojo::MessageReceiver {};

class CommandHandler_ExecuteCommand_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void CommandHandlerProxy::CanExecuteCommand(
    Command in_command_id, CanExecuteCommandCallback callback) {}

void CommandHandlerProxy::ExecuteCommand(
    Command in_command_id, ClickInfoPtr in_click_info, ExecuteCommandCallback callback) {}
class CommandHandler_CanExecuteCommand_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CommandHandler_CanExecuteCommand_ProxyToResponder::Run(
    bool in_can_execute) {}
class CommandHandler_ExecuteCommand_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void CommandHandler_ExecuteCommand_ProxyToResponder::Run(
    bool in_command_executed) {}

// static
bool CommandHandlerStubDispatch::Accept(
    CommandHandler* impl,
    mojo::Message* message) {}

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

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

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


}  // browser_command::mojom


namespace mojo {


// static
bool StructTraits<::browser_command::mojom::ClickInfo::DataView, ::browser_command::mojom::ClickInfoPtr>::Read(
    ::browser_command::mojom::ClickInfo::DataView input,
    ::browser_command::mojom::ClickInfoPtr* 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 browser_command::mojom {


void CommandHandlerFactoryInterceptorForTesting::CreateBrowserCommandHandler(::mojo::PendingReceiver<CommandHandler> handler) {}
CommandHandlerFactoryAsyncWaiter::CommandHandlerFactoryAsyncWaiter(
    CommandHandlerFactory* proxy) :{}

CommandHandlerFactoryAsyncWaiter::~CommandHandlerFactoryAsyncWaiter() = default;




void CommandHandlerInterceptorForTesting::CanExecuteCommand(Command command_id, CanExecuteCommandCallback callback) {}
void CommandHandlerInterceptorForTesting::ExecuteCommand(Command command_id, ClickInfoPtr click_info, ExecuteCommandCallback callback) {}
CommandHandlerAsyncWaiter::CommandHandlerAsyncWaiter(
    CommandHandler* proxy) :{}

CommandHandlerAsyncWaiter::~CommandHandlerAsyncWaiter() = default;

void CommandHandlerAsyncWaiter::CanExecuteCommand(
    Command command_id, bool* out_can_execute) {}

bool CommandHandlerAsyncWaiter::CanExecuteCommand(
    Command command_id) {}

void CommandHandlerAsyncWaiter::ExecuteCommand(
    Command command_id, ClickInfoPtr click_info, bool* out_command_executed) {}

bool CommandHandlerAsyncWaiter::ExecuteCommand(
    Command command_id, ClickInfoPtr click_info) {}






}  // browser_command::mojom


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