chromium/out/Default/gen/services/device/public/mojom/usb_device.mojom-shared.cc

// services/device/public/mojom/usb_device.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 "services/device/public/mojom/usb_device.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 "services/device/public/mojom/usb_device.mojom-params-data.h"
namespace device {
namespace mojom {

NOINLINE static const char* UsbOpenDeviceSuccessToStringHelper(UsbOpenDeviceSuccess value) {}

std::string UsbOpenDeviceSuccessToString(UsbOpenDeviceSuccess value) {}

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

NOINLINE static const char* UsbOpenDeviceErrorToStringHelper(UsbOpenDeviceError value) {}

std::string UsbOpenDeviceErrorToString(UsbOpenDeviceError value) {}

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

NOINLINE static const char* UsbClaimInterfaceResultToStringHelper(UsbClaimInterfaceResult value) {}

std::string UsbClaimInterfaceResultToString(UsbClaimInterfaceResult value) {}

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

NOINLINE static const char* UsbTransferDirectionToStringHelper(UsbTransferDirection value) {}

std::string UsbTransferDirectionToString(UsbTransferDirection value) {}

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

NOINLINE static const char* UsbControlTransferTypeToStringHelper(UsbControlTransferType value) {}

std::string UsbControlTransferTypeToString(UsbControlTransferType value) {}

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

NOINLINE static const char* UsbControlTransferRecipientToStringHelper(UsbControlTransferRecipient value) {}

std::string UsbControlTransferRecipientToString(UsbControlTransferRecipient value) {}

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

NOINLINE static const char* UsbTransferTypeToStringHelper(UsbTransferType value) {}

std::string UsbTransferTypeToString(UsbTransferType value) {}

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

NOINLINE static const char* UsbSynchronizationTypeToStringHelper(UsbSynchronizationType value) {}

std::string UsbSynchronizationTypeToString(UsbSynchronizationType value) {}

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

NOINLINE static const char* UsbUsageTypeToStringHelper(UsbUsageType value) {}

std::string UsbUsageTypeToString(UsbUsageType value) {}

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

NOINLINE static const char* UsbTransferStatusToStringHelper(UsbTransferStatus value) {}

std::string UsbTransferStatusToString(UsbTransferStatus value) {}

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

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


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

UsbEndpointInfo_Data::UsbEndpointInfo_Data()
    :{}


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

UsbAlternateInterfaceInfo_Data::UsbAlternateInterfaceInfo_Data()
    :{}


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

UsbInterfaceInfo_Data::UsbInterfaceInfo_Data()
    :{}


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

UsbConfigurationInfo_Data::UsbConfigurationInfo_Data()
    :{}


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

UsbDeviceInfo_Data::UsbDeviceInfo_Data()
    :{}


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

UsbControlTransferParams_Data::UsbControlTransferParams_Data()
    :{}


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

UsbIsochronousPacket_Data::UsbIsochronousPacket_Data()
    :{}


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

UsbDevice_Open_Params_Data::UsbDevice_Open_Params_Data()
    :{}


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

UsbDevice_Open_ResponseParams_Data::UsbDevice_Open_ResponseParams_Data()
    :{}


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

UsbDevice_Close_Params_Data::UsbDevice_Close_Params_Data()
    :{}


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

UsbDevice_Close_ResponseParams_Data::UsbDevice_Close_ResponseParams_Data()
    :{}


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

UsbDevice_SetConfiguration_Params_Data::UsbDevice_SetConfiguration_Params_Data()
    :{}


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

UsbDevice_SetConfiguration_ResponseParams_Data::UsbDevice_SetConfiguration_ResponseParams_Data()
    :{}


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

UsbDevice_ClaimInterface_Params_Data::UsbDevice_ClaimInterface_Params_Data()
    :{}


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

UsbDevice_ClaimInterface_ResponseParams_Data::UsbDevice_ClaimInterface_ResponseParams_Data()
    :{}


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

UsbDevice_ReleaseInterface_Params_Data::UsbDevice_ReleaseInterface_Params_Data()
    :{}


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

UsbDevice_ReleaseInterface_ResponseParams_Data::UsbDevice_ReleaseInterface_ResponseParams_Data()
    :{}


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

UsbDevice_SetInterfaceAlternateSetting_Params_Data::UsbDevice_SetInterfaceAlternateSetting_Params_Data()
    :{}


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

UsbDevice_SetInterfaceAlternateSetting_ResponseParams_Data::UsbDevice_SetInterfaceAlternateSetting_ResponseParams_Data()
    :{}


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

UsbDevice_Reset_Params_Data::UsbDevice_Reset_Params_Data()
    :{}


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

UsbDevice_Reset_ResponseParams_Data::UsbDevice_Reset_ResponseParams_Data()
    :{}


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

UsbDevice_ClearHalt_Params_Data::UsbDevice_ClearHalt_Params_Data()
    :{}


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

UsbDevice_ClearHalt_ResponseParams_Data::UsbDevice_ClearHalt_ResponseParams_Data()
    :{}


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

UsbDevice_ControlTransferIn_Params_Data::UsbDevice_ControlTransferIn_Params_Data()
    :{}


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

UsbDevice_ControlTransferIn_ResponseParams_Data::UsbDevice_ControlTransferIn_ResponseParams_Data()
    :{}


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

UsbDevice_ControlTransferOut_Params_Data::UsbDevice_ControlTransferOut_Params_Data()
    :{}


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

UsbDevice_ControlTransferOut_ResponseParams_Data::UsbDevice_ControlTransferOut_ResponseParams_Data()
    :{}


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

UsbDevice_GenericTransferIn_Params_Data::UsbDevice_GenericTransferIn_Params_Data()
    :{}


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

UsbDevice_GenericTransferIn_ResponseParams_Data::UsbDevice_GenericTransferIn_ResponseParams_Data()
    :{}


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

UsbDevice_GenericTransferOut_Params_Data::UsbDevice_GenericTransferOut_Params_Data()
    :{}


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

UsbDevice_GenericTransferOut_ResponseParams_Data::UsbDevice_GenericTransferOut_ResponseParams_Data()
    :{}


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

UsbDevice_IsochronousTransferIn_Params_Data::UsbDevice_IsochronousTransferIn_Params_Data()
    :{}


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

UsbDevice_IsochronousTransferIn_ResponseParams_Data::UsbDevice_IsochronousTransferIn_ResponseParams_Data()
    :{}


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

UsbDevice_IsochronousTransferOut_Params_Data::UsbDevice_IsochronousTransferOut_Params_Data()
    :{}


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

UsbDevice_IsochronousTransferOut_ResponseParams_Data::UsbDevice_IsochronousTransferOut_ResponseParams_Data()
    :{}


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

UsbDeviceClient_OnDeviceOpened_Params_Data::UsbDeviceClient_OnDeviceOpened_Params_Data()
    :{}


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

UsbDeviceClient_OnDeviceClosed_Params_Data::UsbDeviceClient_OnDeviceClosed_Params_Data()
    :{}

}  // namespace internal
}  // namespace mojom
}  // namespace device

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto