chromium/out/Default/gen/services/device/public/mojom/input_service.mojom.cc

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

#include "services/device/public/mojom/input_service.mojom-import-headers.h"
#include "services/device/public/mojom/input_service.mojom-test-utils.h"


namespace device::mojom {
InputDeviceInfo::InputDeviceInfo()
    :{}

InputDeviceInfo::InputDeviceInfo(
    const std::string& id_in,
    const std::string& name_in,
    InputDeviceSubsystem subsystem_in,
    InputDeviceType type_in,
    bool is_accelerometer_in,
    bool is_joystick_in,
    bool is_key_in,
    bool is_keyboard_in,
    bool is_mouse_in,
    bool is_tablet_in,
    bool is_touchpad_in,
    bool is_touchscreen_in)
    :{}

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

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t InputDeviceManagerClient::InputDeviceAdded_Sym::IPCStableHash() {}
uint32_t InputDeviceManagerClient::InputDeviceRemoved_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void InputDeviceManagerClientProxy::InputDeviceAdded(
    InputDeviceInfoPtr in_device_info) {}

void InputDeviceManagerClientProxy::InputDeviceRemoved(
    const std::string& in_id) {}

// static
bool InputDeviceManagerClientStubDispatch::Accept(
    InputDeviceManagerClient* impl,
    mojo::Message* message) {}

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

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

const char InputDeviceManager::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t InputDeviceManager::GetDevicesAndSetClient_Sym::IPCStableHash() {}
uint32_t InputDeviceManager::GetDevices_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class InputDeviceManager_GetDevicesAndSetClient_ForwardToCallback
    : public mojo::MessageReceiver {};

class InputDeviceManager_GetDevices_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void InputDeviceManagerProxy::GetDevicesAndSetClient(
    ::mojo::PendingAssociatedRemote<InputDeviceManagerClient> in_client, GetDevicesAndSetClientCallback callback) {}

void InputDeviceManagerProxy::GetDevices(
    GetDevicesCallback callback) {}
class InputDeviceManager_GetDevicesAndSetClient_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void InputDeviceManager_GetDevicesAndSetClient_ProxyToResponder::Run(
    std::vector<InputDeviceInfoPtr> in_devices) {}
class InputDeviceManager_GetDevices_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void InputDeviceManager_GetDevices_ProxyToResponder::Run(
    std::vector<InputDeviceInfoPtr> in_devices) {}

// static
bool InputDeviceManagerStubDispatch::Accept(
    InputDeviceManager* impl,
    mojo::Message* message) {}

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

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

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


}  // device::mojom


namespace mojo {


// static
bool StructTraits<::device::mojom::InputDeviceInfo::DataView, ::device::mojom::InputDeviceInfoPtr>::Read(
    ::device::mojom::InputDeviceInfo::DataView input,
    ::device::mojom::InputDeviceInfoPtr* 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 device::mojom {


void InputDeviceManagerClientInterceptorForTesting::InputDeviceAdded(InputDeviceInfoPtr device_info) {}
void InputDeviceManagerClientInterceptorForTesting::InputDeviceRemoved(const std::string& id) {}
InputDeviceManagerClientAsyncWaiter::InputDeviceManagerClientAsyncWaiter(
    InputDeviceManagerClient* proxy) :{}

InputDeviceManagerClientAsyncWaiter::~InputDeviceManagerClientAsyncWaiter() = default;




void InputDeviceManagerInterceptorForTesting::GetDevicesAndSetClient(::mojo::PendingAssociatedRemote<InputDeviceManagerClient> client, GetDevicesAndSetClientCallback callback) {}
void InputDeviceManagerInterceptorForTesting::GetDevices(GetDevicesCallback callback) {}
InputDeviceManagerAsyncWaiter::InputDeviceManagerAsyncWaiter(
    InputDeviceManager* proxy) :{}

InputDeviceManagerAsyncWaiter::~InputDeviceManagerAsyncWaiter() = default;

void InputDeviceManagerAsyncWaiter::GetDevicesAndSetClient(
    ::mojo::PendingAssociatedRemote<InputDeviceManagerClient> client, std::vector<InputDeviceInfoPtr>* out_devices) {}

std::vector<InputDeviceInfoPtr> InputDeviceManagerAsyncWaiter::GetDevicesAndSetClient(
    ::mojo::PendingAssociatedRemote<InputDeviceManagerClient> client) {}

void InputDeviceManagerAsyncWaiter::GetDevices(
    std::vector<InputDeviceInfoPtr>* out_devices) {}

std::vector<InputDeviceInfoPtr> InputDeviceManagerAsyncWaiter::GetDevices(
    ) {}






}  // device::mojom


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