chromium/out/Default/gen/chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals.mojom.cc

// chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals.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 "chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals.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 "chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals.mojom-params-data.h"
#include "chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals.mojom-shared-message-ids.h"

#include "chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals.mojom-import-headers.h"
#include "chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals.mojom-test-utils.h"


namespace mojom {
const char DebugLogsChangeHandler::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t DebugLogsChangeHandler::ChangeDebugLogsState_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void DebugLogsChangeHandlerProxy::ChangeDebugLogsState(
    bool in_should_debug_logs_be_enabled) {}

// static
bool DebugLogsChangeHandlerStubDispatch::Accept(
    DebugLogsChangeHandler* impl,
    mojo::Message* message) {}

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

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

const char BluetoothInternalsHandler::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t BluetoothInternalsHandler::GetAdapter_Sym::IPCStableHash() {}
uint32_t BluetoothInternalsHandler::GetDebugLogsChangeHandler_Sym::IPCStableHash() {}
uint32_t BluetoothInternalsHandler::CheckSystemPermissions_Sym::IPCStableHash() {}
uint32_t BluetoothInternalsHandler::RequestSystemPermissions_Sym::IPCStableHash() {}
uint32_t BluetoothInternalsHandler::RequestLocationServices_Sym::IPCStableHash() {}
uint32_t BluetoothInternalsHandler::StartBtsnoop_Sym::IPCStableHash() {}
uint32_t BluetoothInternalsHandler::IsBtsnoopFeatureEnabled_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class BluetoothInternalsHandler_GetAdapter_ForwardToCallback
    : public mojo::MessageReceiver {};

class BluetoothInternalsHandler_GetDebugLogsChangeHandler_ForwardToCallback
    : public mojo::MessageReceiver {};

class BluetoothInternalsHandler_CheckSystemPermissions_ForwardToCallback
    : public mojo::MessageReceiver {};

class BluetoothInternalsHandler_RequestSystemPermissions_ForwardToCallback
    : public mojo::MessageReceiver {};

class BluetoothInternalsHandler_RequestLocationServices_ForwardToCallback
    : public mojo::MessageReceiver {};

class BluetoothInternalsHandler_StartBtsnoop_ForwardToCallback
    : public mojo::MessageReceiver {};

class BluetoothInternalsHandler_IsBtsnoopFeatureEnabled_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void BluetoothInternalsHandlerProxy::GetAdapter(
    GetAdapterCallback callback) {}

void BluetoothInternalsHandlerProxy::GetDebugLogsChangeHandler(
    GetDebugLogsChangeHandlerCallback callback) {}

void BluetoothInternalsHandlerProxy::CheckSystemPermissions(
    CheckSystemPermissionsCallback callback) {}

void BluetoothInternalsHandlerProxy::RequestSystemPermissions(
    RequestSystemPermissionsCallback callback) {}

void BluetoothInternalsHandlerProxy::RequestLocationServices(
    RequestLocationServicesCallback callback) {}

void BluetoothInternalsHandlerProxy::StartBtsnoop(
    StartBtsnoopCallback callback) {}

void BluetoothInternalsHandlerProxy::IsBtsnoopFeatureEnabled(
    IsBtsnoopFeatureEnabledCallback callback) {}
class BluetoothInternalsHandler_GetAdapter_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void BluetoothInternalsHandler_GetAdapter_ProxyToResponder::Run(
    ::mojo::PendingRemote<::bluetooth::mojom::Adapter> in_adapter) {}
class BluetoothInternalsHandler_GetDebugLogsChangeHandler_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void BluetoothInternalsHandler_GetDebugLogsChangeHandler_ProxyToResponder::Run(
    ::mojo::PendingRemote<DebugLogsChangeHandler> in_handler, bool in_initial_toggle_value) {}
class BluetoothInternalsHandler_CheckSystemPermissions_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void BluetoothInternalsHandler_CheckSystemPermissions_ProxyToResponder::Run(
    bool in_need_location_permission, bool in_need_nearby_devices_permission, bool in_need_location_services, bool in_can_request_permissions) {}
class BluetoothInternalsHandler_RequestSystemPermissions_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void BluetoothInternalsHandler_RequestSystemPermissions_ProxyToResponder::Run(
    ) {}
class BluetoothInternalsHandler_RequestLocationServices_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void BluetoothInternalsHandler_RequestLocationServices_ProxyToResponder::Run(
    ) {}
class BluetoothInternalsHandler_StartBtsnoop_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void BluetoothInternalsHandler_StartBtsnoop_ProxyToResponder::Run(
    ::mojo::PendingRemote<BluetoothBtsnoop> in_btsnoop) {}
class BluetoothInternalsHandler_IsBtsnoopFeatureEnabled_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void BluetoothInternalsHandler_IsBtsnoopFeatureEnabled_ProxyToResponder::Run(
    bool in_enabled) {}

// static
bool BluetoothInternalsHandlerStubDispatch::Accept(
    BluetoothInternalsHandler* impl,
    mojo::Message* message) {}

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

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

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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t BluetoothBtsnoop::Stop_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class BluetoothBtsnoop_Stop_ForwardToCallback
    : public mojo::MessageReceiver {};

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

void BluetoothBtsnoopProxy::Stop(
    StopCallback callback) {}
class BluetoothBtsnoop_Stop_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

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

void BluetoothBtsnoop_Stop_ProxyToResponder::Run(
    bool in_success) {}

// static
bool BluetoothBtsnoopStubDispatch::Accept(
    BluetoothBtsnoop* impl,
    mojo::Message* message) {}

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

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

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


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


void DebugLogsChangeHandlerInterceptorForTesting::ChangeDebugLogsState(bool should_debug_logs_be_enabled) {}
DebugLogsChangeHandlerAsyncWaiter::DebugLogsChangeHandlerAsyncWaiter(
    DebugLogsChangeHandler* proxy) :{}

DebugLogsChangeHandlerAsyncWaiter::~DebugLogsChangeHandlerAsyncWaiter() = default;




void BluetoothInternalsHandlerInterceptorForTesting::GetAdapter(GetAdapterCallback callback) {}
void BluetoothInternalsHandlerInterceptorForTesting::GetDebugLogsChangeHandler(GetDebugLogsChangeHandlerCallback callback) {}
void BluetoothInternalsHandlerInterceptorForTesting::CheckSystemPermissions(CheckSystemPermissionsCallback callback) {}
void BluetoothInternalsHandlerInterceptorForTesting::RequestSystemPermissions(RequestSystemPermissionsCallback callback) {}
void BluetoothInternalsHandlerInterceptorForTesting::RequestLocationServices(RequestLocationServicesCallback callback) {}
void BluetoothInternalsHandlerInterceptorForTesting::StartBtsnoop(StartBtsnoopCallback callback) {}
void BluetoothInternalsHandlerInterceptorForTesting::IsBtsnoopFeatureEnabled(IsBtsnoopFeatureEnabledCallback callback) {}
BluetoothInternalsHandlerAsyncWaiter::BluetoothInternalsHandlerAsyncWaiter(
    BluetoothInternalsHandler* proxy) :{}

BluetoothInternalsHandlerAsyncWaiter::~BluetoothInternalsHandlerAsyncWaiter() = default;

void BluetoothInternalsHandlerAsyncWaiter::GetAdapter(
    ::mojo::PendingRemote<::bluetooth::mojom::Adapter>* out_adapter) {}

::mojo::PendingRemote<::bluetooth::mojom::Adapter> BluetoothInternalsHandlerAsyncWaiter::GetAdapter(
    ) {}

void BluetoothInternalsHandlerAsyncWaiter::GetDebugLogsChangeHandler(
    ::mojo::PendingRemote<DebugLogsChangeHandler>* out_handler, bool* out_initial_toggle_value) {}



void BluetoothInternalsHandlerAsyncWaiter::CheckSystemPermissions(
    bool* out_need_location_permission, bool* out_need_nearby_devices_permission, bool* out_need_location_services, bool* out_can_request_permissions) {}



void BluetoothInternalsHandlerAsyncWaiter::RequestSystemPermissions(
    ) {}



void BluetoothInternalsHandlerAsyncWaiter::RequestLocationServices(
    ) {}



void BluetoothInternalsHandlerAsyncWaiter::StartBtsnoop(
    ::mojo::PendingRemote<BluetoothBtsnoop>* out_btsnoop) {}

::mojo::PendingRemote<BluetoothBtsnoop> BluetoothInternalsHandlerAsyncWaiter::StartBtsnoop(
    ) {}

void BluetoothInternalsHandlerAsyncWaiter::IsBtsnoopFeatureEnabled(
    bool* out_enabled) {}

bool BluetoothInternalsHandlerAsyncWaiter::IsBtsnoopFeatureEnabled(
    ) {}




void BluetoothBtsnoopInterceptorForTesting::Stop(StopCallback callback) {}
BluetoothBtsnoopAsyncWaiter::BluetoothBtsnoopAsyncWaiter(
    BluetoothBtsnoop* proxy) :{}

BluetoothBtsnoopAsyncWaiter::~BluetoothBtsnoopAsyncWaiter() = default;

void BluetoothBtsnoopAsyncWaiter::Stop(
    bool* out_success) {}

bool BluetoothBtsnoopAsyncWaiter::Stop(
    ) {}






}  // mojom


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