chromium/out/Default/gen/third_party/blink/public/mojom/bluetooth/web_bluetooth.mojom-shared.cc

// third_party/blink/public/mojom/bluetooth/web_bluetooth.mojom-shared.cc is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/public/mojom/bluetooth/web_bluetooth.mojom-shared.h"

// Used to support stream output operator for enums.
// TODO(dcheng): Consider omitting this somehow if not needed.
#include <ostream>
#include <utility>

#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"

#include "third_party/blink/public/mojom/bluetooth/web_bluetooth.mojom-params-data.h"
namespace blink {
namespace mojom {

NOINLINE static const char* WebBluetoothResultToStringHelper(WebBluetoothResult value) {}

std::string WebBluetoothResultToString(WebBluetoothResult value) {}

std::ostream& operator<<(std::ostream& os, WebBluetoothResult value) {}

NOINLINE static const char* WebBluetoothGATTQueryQuantityToStringHelper(WebBluetoothGATTQueryQuantity value) {}

std::string WebBluetoothGATTQueryQuantityToString(WebBluetoothGATTQueryQuantity value) {}

std::ostream& operator<<(std::ostream& os, WebBluetoothGATTQueryQuantity value) {}

NOINLINE static const char* WebBluetoothWriteTypeToStringHelper(WebBluetoothWriteType value) {}

std::string WebBluetoothWriteTypeToString(WebBluetoothWriteType value) {}

std::ostream& operator<<(std::ostream& os, WebBluetoothWriteType value) {}

namespace internal {


// static
bool WebBluetoothLeScanFilter_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothLeScanFilter_Data::WebBluetoothLeScanFilter_Data()
    :{}


// static
bool WebBluetoothCompany_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothCompany_Data::WebBluetoothCompany_Data()
    :{}


// static
bool WebBluetoothDataFilter_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothDataFilter_Data::WebBluetoothDataFilter_Data()
    :{}


// static
bool WebBluetoothRequestDeviceOptions_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothRequestDeviceOptions_Data::WebBluetoothRequestDeviceOptions_Data()
    :{}


// static
bool WebBluetoothRequestLEScanOptions_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothRequestLEScanOptions_Data::WebBluetoothRequestLEScanOptions_Data()
    :{}


// static
bool WebBluetoothDeviceId_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothDeviceId_Data::WebBluetoothDeviceId_Data()
    :{}


// static
bool WebBluetoothDevice_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothDevice_Data::WebBluetoothDevice_Data()
    :{}


// static
bool WebBluetoothRemoteGATTService_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothRemoteGATTService_Data::WebBluetoothRemoteGATTService_Data()
    :{}


// static
bool WebBluetoothRemoteGATTCharacteristic_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothRemoteGATTCharacteristic_Data::WebBluetoothRemoteGATTCharacteristic_Data()
    :{}


// static
bool WebBluetoothAdvertisingEvent_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothAdvertisingEvent_Data::WebBluetoothAdvertisingEvent_Data()
    :{}


// static
bool WebBluetoothRemoteGATTDescriptor_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothRemoteGATTDescriptor_Data::WebBluetoothRemoteGATTDescriptor_Data()
    :{}


// static
bool WebBluetoothService_GetAvailability_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_GetAvailability_Params_Data::WebBluetoothService_GetAvailability_Params_Data()
    :{}


// static
bool WebBluetoothService_GetAvailability_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_GetAvailability_ResponseParams_Data::WebBluetoothService_GetAvailability_ResponseParams_Data()
    :{}


// static
bool WebBluetoothService_RequestDevice_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RequestDevice_Params_Data::WebBluetoothService_RequestDevice_Params_Data()
    :{}


// static
bool WebBluetoothService_RequestDevice_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RequestDevice_ResponseParams_Data::WebBluetoothService_RequestDevice_ResponseParams_Data()
    :{}


// static
bool WebBluetoothService_GetDevices_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_GetDevices_Params_Data::WebBluetoothService_GetDevices_Params_Data()
    :{}


// static
bool WebBluetoothService_GetDevices_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_GetDevices_ResponseParams_Data::WebBluetoothService_GetDevices_ResponseParams_Data()
    :{}


// static
bool WebBluetoothService_ForgetDevice_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_ForgetDevice_Params_Data::WebBluetoothService_ForgetDevice_Params_Data()
    :{}


// static
bool WebBluetoothService_ForgetDevice_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_ForgetDevice_ResponseParams_Data::WebBluetoothService_ForgetDevice_ResponseParams_Data()
    :{}


// static
bool WebBluetoothService_RemoteServerConnect_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteServerConnect_Params_Data::WebBluetoothService_RemoteServerConnect_Params_Data()
    :{}


// static
bool WebBluetoothService_RemoteServerConnect_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteServerConnect_ResponseParams_Data::WebBluetoothService_RemoteServerConnect_ResponseParams_Data()
    :{}


// static
bool WebBluetoothService_RemoteServerDisconnect_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteServerDisconnect_Params_Data::WebBluetoothService_RemoteServerDisconnect_Params_Data()
    :{}


// static
bool WebBluetoothService_RemoteServerGetPrimaryServices_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteServerGetPrimaryServices_Params_Data::WebBluetoothService_RemoteServerGetPrimaryServices_Params_Data()
    :{}


// static
bool WebBluetoothService_RemoteServerGetPrimaryServices_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteServerGetPrimaryServices_ResponseParams_Data::WebBluetoothService_RemoteServerGetPrimaryServices_ResponseParams_Data()
    :{}


// static
bool WebBluetoothService_RemoteServiceGetCharacteristics_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteServiceGetCharacteristics_Params_Data::WebBluetoothService_RemoteServiceGetCharacteristics_Params_Data()
    :{}


// static
bool WebBluetoothService_RemoteServiceGetCharacteristics_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteServiceGetCharacteristics_ResponseParams_Data::WebBluetoothService_RemoteServiceGetCharacteristics_ResponseParams_Data()
    :{}


// static
bool WebBluetoothService_RemoteCharacteristicReadValue_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteCharacteristicReadValue_Params_Data::WebBluetoothService_RemoteCharacteristicReadValue_Params_Data()
    :{}


// static
bool WebBluetoothService_RemoteCharacteristicReadValue_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteCharacteristicReadValue_ResponseParams_Data::WebBluetoothService_RemoteCharacteristicReadValue_ResponseParams_Data()
    :{}


// static
bool WebBluetoothService_RemoteCharacteristicWriteValue_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteCharacteristicWriteValue_Params_Data::WebBluetoothService_RemoteCharacteristicWriteValue_Params_Data()
    :{}


// static
bool WebBluetoothService_RemoteCharacteristicWriteValue_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteCharacteristicWriteValue_ResponseParams_Data::WebBluetoothService_RemoteCharacteristicWriteValue_ResponseParams_Data()
    :{}


// static
bool WebBluetoothService_RemoteCharacteristicStartNotifications_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteCharacteristicStartNotifications_Params_Data::WebBluetoothService_RemoteCharacteristicStartNotifications_Params_Data()
    :{}


// static
bool WebBluetoothService_RemoteCharacteristicStartNotifications_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteCharacteristicStartNotifications_ResponseParams_Data::WebBluetoothService_RemoteCharacteristicStartNotifications_ResponseParams_Data()
    :{}


// static
bool WebBluetoothService_RemoteCharacteristicStopNotifications_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteCharacteristicStopNotifications_Params_Data::WebBluetoothService_RemoteCharacteristicStopNotifications_Params_Data()
    :{}


// static
bool WebBluetoothService_RemoteCharacteristicStopNotifications_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteCharacteristicStopNotifications_ResponseParams_Data::WebBluetoothService_RemoteCharacteristicStopNotifications_ResponseParams_Data()
    :{}


// static
bool WebBluetoothService_RemoteCharacteristicGetDescriptors_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteCharacteristicGetDescriptors_Params_Data::WebBluetoothService_RemoteCharacteristicGetDescriptors_Params_Data()
    :{}


// static
bool WebBluetoothService_RemoteCharacteristicGetDescriptors_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteCharacteristicGetDescriptors_ResponseParams_Data::WebBluetoothService_RemoteCharacteristicGetDescriptors_ResponseParams_Data()
    :{}


// static
bool WebBluetoothService_RemoteDescriptorReadValue_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteDescriptorReadValue_Params_Data::WebBluetoothService_RemoteDescriptorReadValue_Params_Data()
    :{}


// static
bool WebBluetoothService_RemoteDescriptorReadValue_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteDescriptorReadValue_ResponseParams_Data::WebBluetoothService_RemoteDescriptorReadValue_ResponseParams_Data()
    :{}


// static
bool WebBluetoothService_RemoteDescriptorWriteValue_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteDescriptorWriteValue_Params_Data::WebBluetoothService_RemoteDescriptorWriteValue_Params_Data()
    :{}


// static
bool WebBluetoothService_RemoteDescriptorWriteValue_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RemoteDescriptorWriteValue_ResponseParams_Data::WebBluetoothService_RemoteDescriptorWriteValue_ResponseParams_Data()
    :{}


// static
bool WebBluetoothService_RequestScanningStart_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RequestScanningStart_Params_Data::WebBluetoothService_RequestScanningStart_Params_Data()
    :{}


// static
bool WebBluetoothService_RequestScanningStart_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_RequestScanningStart_ResponseParams_Data::WebBluetoothService_RequestScanningStart_ResponseParams_Data()
    :{}


// static
bool WebBluetoothService_WatchAdvertisementsForDevice_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_WatchAdvertisementsForDevice_Params_Data::WebBluetoothService_WatchAdvertisementsForDevice_Params_Data()
    :{}


// static
bool WebBluetoothService_WatchAdvertisementsForDevice_ResponseParams_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothService_WatchAdvertisementsForDevice_ResponseParams_Data::WebBluetoothService_WatchAdvertisementsForDevice_ResponseParams_Data()
    :{}


// static
bool WebBluetoothServerClient_GATTServerDisconnected_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothServerClient_GATTServerDisconnected_Params_Data::WebBluetoothServerClient_GATTServerDisconnected_Params_Data()
    :{}


// static
bool WebBluetoothCharacteristicClient_RemoteCharacteristicValueChanged_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothCharacteristicClient_RemoteCharacteristicValueChanged_Params_Data::WebBluetoothCharacteristicClient_RemoteCharacteristicValueChanged_Params_Data()
    :{}


// static
bool WebBluetoothAdvertisementClient_AdvertisingEvent_Params_Data::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}

WebBluetoothAdvertisementClient_AdvertisingEvent_Params_Data::WebBluetoothAdvertisementClient_AdvertisingEvent_Params_Data()
    :{}

}  // namespace internal
}  // namespace mojom
}  // namespace blink

namespace perfetto {

// static
void TraceFormatTraits<::blink::mojom::WebBluetoothResult>::WriteIntoTrace(
   perfetto::TracedValue context, ::blink::mojom::WebBluetoothResult value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::blink::mojom::WebBluetoothGATTQueryQuantity>::WriteIntoTrace(
   perfetto::TracedValue context, ::blink::mojom::WebBluetoothGATTQueryQuantity value) {}

} // namespace perfetto

namespace perfetto {

// static
void TraceFormatTraits<::blink::mojom::WebBluetoothWriteType>::WriteIntoTrace(
   perfetto::TracedValue context, ::blink::mojom::WebBluetoothWriteType value) {}

} // namespace perfetto