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

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

NOINLINE static const char* SerialSendErrorToStringHelper(SerialSendError value) {}

std::string SerialSendErrorToString(SerialSendError value) {}

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

NOINLINE static const char* SerialReceiveErrorToStringHelper(SerialReceiveError value) {}

std::string SerialReceiveErrorToString(SerialReceiveError value) {}

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

NOINLINE static const char* SerialDataBitsToStringHelper(SerialDataBits value) {}

std::string SerialDataBitsToString(SerialDataBits value) {}

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

NOINLINE static const char* SerialParityBitToStringHelper(SerialParityBit value) {}

std::string SerialParityBitToString(SerialParityBit value) {}

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

NOINLINE static const char* SerialStopBitsToStringHelper(SerialStopBits value) {}

std::string SerialStopBitsToString(SerialStopBits value) {}

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

NOINLINE static const char* SerialPortFlushModeToStringHelper(SerialPortFlushMode value) {}

std::string SerialPortFlushModeToString(SerialPortFlushMode value) {}

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

NOINLINE static const char* SerialPortTypeToStringHelper(SerialPortType value) {}

std::string SerialPortTypeToString(SerialPortType value) {}

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

namespace internal {


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

SerialPortInfo_Data::SerialPortInfo_Data()
    :{}


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

SerialConnectionOptions_Data::SerialConnectionOptions_Data()
    :{}


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

SerialConnectionInfo_Data::SerialConnectionInfo_Data()
    :{}


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

SerialHostControlSignals_Data::SerialHostControlSignals_Data()
    :{}


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

SerialPortControlSignals_Data::SerialPortControlSignals_Data()
    :{}


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

SerialPortManager_SetClient_Params_Data::SerialPortManager_SetClient_Params_Data()
    :{}


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

SerialPortManager_GetDevices_Params_Data::SerialPortManager_GetDevices_Params_Data()
    :{}


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

SerialPortManager_GetDevices_ResponseParams_Data::SerialPortManager_GetDevices_ResponseParams_Data()
    :{}


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

SerialPortManager_OpenPort_Params_Data::SerialPortManager_OpenPort_Params_Data()
    :{}


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

SerialPortManager_OpenPort_ResponseParams_Data::SerialPortManager_OpenPort_ResponseParams_Data()
    :{}


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

SerialPortManagerClient_OnPortAdded_Params_Data::SerialPortManagerClient_OnPortAdded_Params_Data()
    :{}


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

SerialPortManagerClient_OnPortRemoved_Params_Data::SerialPortManagerClient_OnPortRemoved_Params_Data()
    :{}


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

SerialPortManagerClient_OnPortConnectedStateChanged_Params_Data::SerialPortManagerClient_OnPortConnectedStateChanged_Params_Data()
    :{}


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

SerialPort_StartWriting_Params_Data::SerialPort_StartWriting_Params_Data()
    :{}


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

SerialPort_StartReading_Params_Data::SerialPort_StartReading_Params_Data()
    :{}


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

SerialPort_Flush_Params_Data::SerialPort_Flush_Params_Data()
    :{}


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

SerialPort_Flush_ResponseParams_Data::SerialPort_Flush_ResponseParams_Data()
    :{}


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

SerialPort_Drain_Params_Data::SerialPort_Drain_Params_Data()
    :{}


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

SerialPort_Drain_ResponseParams_Data::SerialPort_Drain_ResponseParams_Data()
    :{}


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

SerialPort_GetControlSignals_Params_Data::SerialPort_GetControlSignals_Params_Data()
    :{}


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

SerialPort_GetControlSignals_ResponseParams_Data::SerialPort_GetControlSignals_ResponseParams_Data()
    :{}


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

SerialPort_SetControlSignals_Params_Data::SerialPort_SetControlSignals_Params_Data()
    :{}


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

SerialPort_SetControlSignals_ResponseParams_Data::SerialPort_SetControlSignals_ResponseParams_Data()
    :{}


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

SerialPort_ConfigurePort_Params_Data::SerialPort_ConfigurePort_Params_Data()
    :{}


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

SerialPort_ConfigurePort_ResponseParams_Data::SerialPort_ConfigurePort_ResponseParams_Data()
    :{}


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

SerialPort_GetPortInfo_Params_Data::SerialPort_GetPortInfo_Params_Data()
    :{}


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

SerialPort_GetPortInfo_ResponseParams_Data::SerialPort_GetPortInfo_ResponseParams_Data()
    :{}


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

SerialPort_Close_Params_Data::SerialPort_Close_Params_Data()
    :{}


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

SerialPort_Close_ResponseParams_Data::SerialPort_Close_ResponseParams_Data()
    :{}


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

SerialPortClient_OnReadError_Params_Data::SerialPortClient_OnReadError_Params_Data()
    :{}


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

SerialPortClient_OnSendError_Params_Data::SerialPortClient_OnSendError_Params_Data()
    :{}

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

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto