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

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

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


namespace device::mojom {
const char DeviceService::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t DeviceService::BindFingerprint_Sym::IPCStableHash() {}
uint32_t DeviceService::BindGeolocationConfig_Sym::IPCStableHash() {}
uint32_t DeviceService::BindGeolocationContext_Sym::IPCStableHash() {}
uint32_t DeviceService::BindGeolocationControl_Sym::IPCStableHash() {}
uint32_t DeviceService::BindGeolocationInternals_Sym::IPCStableHash() {}
uint32_t DeviceService::BindInputDeviceManager_Sym::IPCStableHash() {}
uint32_t DeviceService::BindBatteryMonitor_Sym::IPCStableHash() {}
uint32_t DeviceService::BindPressureManager_Sym::IPCStableHash() {}
uint32_t DeviceService::BindVibrationManager_Sym::IPCStableHash() {}
uint32_t DeviceService::BindHidManager_Sym::IPCStableHash() {}
uint32_t DeviceService::BindPowerMonitor_Sym::IPCStableHash() {}
uint32_t DeviceService::BindPublicIpAddressGeolocationProvider_Sym::IPCStableHash() {}
uint32_t DeviceService::BindScreenOrientationListener_Sym::IPCStableHash() {}
uint32_t DeviceService::BindSensorProvider_Sym::IPCStableHash() {}
uint32_t DeviceService::BindSerialPortManager_Sym::IPCStableHash() {}
uint32_t DeviceService::BindTimeZoneMonitor_Sym::IPCStableHash() {}
uint32_t DeviceService::BindWakeLockProvider_Sym::IPCStableHash() {}
uint32_t DeviceService::BindUsbDeviceManager_Sym::IPCStableHash() {}
uint32_t DeviceService::BindUsbDeviceManagerTest_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void DeviceServiceProxy::BindFingerprint(
    ::mojo::PendingReceiver<::device::mojom::Fingerprint> in_receiver) {}

void DeviceServiceProxy::BindGeolocationConfig(
    ::mojo::PendingReceiver<::device::mojom::GeolocationConfig> in_receiver) {}

void DeviceServiceProxy::BindGeolocationContext(
    ::mojo::PendingReceiver<::device::mojom::GeolocationContext> in_receiver) {}

void DeviceServiceProxy::BindGeolocationControl(
    ::mojo::PendingReceiver<::device::mojom::GeolocationControl> in_receiver) {}

void DeviceServiceProxy::BindGeolocationInternals(
    ::mojo::PendingReceiver<::device::mojom::GeolocationInternals> in_receiver) {}

void DeviceServiceProxy::BindInputDeviceManager(
    ::mojo::PendingReceiver<::device::mojom::InputDeviceManager> in_receiver) {}

void DeviceServiceProxy::BindBatteryMonitor(
    ::mojo::PendingReceiver<::device::mojom::BatteryMonitor> in_receiver) {}

void DeviceServiceProxy::BindPressureManager(
    ::mojo::PendingReceiver<::device::mojom::PressureManager> in_receiver) {}

void DeviceServiceProxy::BindVibrationManager(
    ::mojo::PendingReceiver<::device::mojom::VibrationManager> in_receiver, ::mojo::PendingRemote<::device::mojom::VibrationManagerListener> in_listener) {}

void DeviceServiceProxy::BindHidManager(
    ::mojo::PendingReceiver<::device::mojom::HidManager> in_receiver) {}

void DeviceServiceProxy::BindPowerMonitor(
    ::mojo::PendingReceiver<::device::mojom::PowerMonitor> in_receiver) {}

void DeviceServiceProxy::BindPublicIpAddressGeolocationProvider(
    ::mojo::PendingReceiver<::device::mojom::PublicIpAddressGeolocationProvider> in_receiver) {}

void DeviceServiceProxy::BindScreenOrientationListener(
    ::mojo::PendingReceiver<::device::mojom::ScreenOrientationListener> in_receiver) {}

void DeviceServiceProxy::BindSensorProvider(
    ::mojo::PendingReceiver<::device::mojom::SensorProvider> in_receiver) {}

void DeviceServiceProxy::BindSerialPortManager(
    ::mojo::PendingReceiver<::device::mojom::SerialPortManager> in_receiver) {}

void DeviceServiceProxy::BindTimeZoneMonitor(
    ::mojo::PendingReceiver<::device::mojom::TimeZoneMonitor> in_receiver) {}

void DeviceServiceProxy::BindWakeLockProvider(
    ::mojo::PendingReceiver<::device::mojom::WakeLockProvider> in_receiver) {}

void DeviceServiceProxy::BindUsbDeviceManager(
    ::mojo::PendingReceiver<::device::mojom::UsbDeviceManager> in_receiver) {}

void DeviceServiceProxy::BindUsbDeviceManagerTest(
    ::mojo::PendingReceiver<::device::mojom::UsbDeviceManagerTest> in_receiver) {}

// static
bool DeviceServiceStubDispatch::Accept(
    DeviceService* impl,
    mojo::Message* message) {}

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

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



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


void DeviceServiceInterceptorForTesting::BindFingerprint(::mojo::PendingReceiver<::device::mojom::Fingerprint> receiver) {}
void DeviceServiceInterceptorForTesting::BindGeolocationConfig(::mojo::PendingReceiver<::device::mojom::GeolocationConfig> receiver) {}
void DeviceServiceInterceptorForTesting::BindGeolocationContext(::mojo::PendingReceiver<::device::mojom::GeolocationContext> receiver) {}
void DeviceServiceInterceptorForTesting::BindGeolocationControl(::mojo::PendingReceiver<::device::mojom::GeolocationControl> receiver) {}
void DeviceServiceInterceptorForTesting::BindGeolocationInternals(::mojo::PendingReceiver<::device::mojom::GeolocationInternals> receiver) {}
void DeviceServiceInterceptorForTesting::BindInputDeviceManager(::mojo::PendingReceiver<::device::mojom::InputDeviceManager> receiver) {}
void DeviceServiceInterceptorForTesting::BindBatteryMonitor(::mojo::PendingReceiver<::device::mojom::BatteryMonitor> receiver) {}
void DeviceServiceInterceptorForTesting::BindPressureManager(::mojo::PendingReceiver<::device::mojom::PressureManager> receiver) {}
void DeviceServiceInterceptorForTesting::BindVibrationManager(::mojo::PendingReceiver<::device::mojom::VibrationManager> receiver, ::mojo::PendingRemote<::device::mojom::VibrationManagerListener> listener) {}
void DeviceServiceInterceptorForTesting::BindHidManager(::mojo::PendingReceiver<::device::mojom::HidManager> receiver) {}
void DeviceServiceInterceptorForTesting::BindPowerMonitor(::mojo::PendingReceiver<::device::mojom::PowerMonitor> receiver) {}
void DeviceServiceInterceptorForTesting::BindPublicIpAddressGeolocationProvider(::mojo::PendingReceiver<::device::mojom::PublicIpAddressGeolocationProvider> receiver) {}
void DeviceServiceInterceptorForTesting::BindScreenOrientationListener(::mojo::PendingReceiver<::device::mojom::ScreenOrientationListener> receiver) {}
void DeviceServiceInterceptorForTesting::BindSensorProvider(::mojo::PendingReceiver<::device::mojom::SensorProvider> receiver) {}
void DeviceServiceInterceptorForTesting::BindSerialPortManager(::mojo::PendingReceiver<::device::mojom::SerialPortManager> receiver) {}
void DeviceServiceInterceptorForTesting::BindTimeZoneMonitor(::mojo::PendingReceiver<::device::mojom::TimeZoneMonitor> receiver) {}
void DeviceServiceInterceptorForTesting::BindWakeLockProvider(::mojo::PendingReceiver<::device::mojom::WakeLockProvider> receiver) {}
void DeviceServiceInterceptorForTesting::BindUsbDeviceManager(::mojo::PendingReceiver<::device::mojom::UsbDeviceManager> receiver) {}
void DeviceServiceInterceptorForTesting::BindUsbDeviceManagerTest(::mojo::PendingReceiver<::device::mojom::UsbDeviceManagerTest> receiver) {}
DeviceServiceAsyncWaiter::DeviceServiceAsyncWaiter(
    DeviceService* proxy) :{}

DeviceServiceAsyncWaiter::~DeviceServiceAsyncWaiter() = default;






}  // device::mojom


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