chromium/out/Default/gen/third_party/blink/public/mojom/mediastream/media_devices.mojom-shared.cc

// third_party/blink/public/mojom/mediastream/media_devices.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/mediastream/media_devices.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/mediastream/media_devices.mojom-params-data.h"
namespace blink {
namespace mojom {

NOINLINE static const char* MediaDeviceTypeToStringHelper(MediaDeviceType value) {}

std::string MediaDeviceTypeToString(MediaDeviceType value) {}

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

NOINLINE static const char* FacingModeToStringHelper(FacingMode value) {}

std::string FacingModeToString(FacingMode value) {}

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

namespace internal {


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

MediaDeviceInfo_Data::MediaDeviceInfo_Data()
    :{}


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

VideoInputDeviceCapabilities_Data::VideoInputDeviceCapabilities_Data()
    :{}


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

AudioInputDeviceCapabilities_Data::AudioInputDeviceCapabilities_Data()
    :{}


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

MediaDevicesDispatcherHost_EnumerateDevices_Params_Data::MediaDevicesDispatcherHost_EnumerateDevices_Params_Data()
    :{}


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

MediaDevicesDispatcherHost_EnumerateDevices_ResponseParams_Data::MediaDevicesDispatcherHost_EnumerateDevices_ResponseParams_Data()
    :{}


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

MediaDevicesDispatcherHost_GetVideoInputCapabilities_Params_Data::MediaDevicesDispatcherHost_GetVideoInputCapabilities_Params_Data()
    :{}


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

MediaDevicesDispatcherHost_GetVideoInputCapabilities_ResponseParams_Data::MediaDevicesDispatcherHost_GetVideoInputCapabilities_ResponseParams_Data()
    :{}


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

MediaDevicesDispatcherHost_GetAllVideoInputDeviceFormats_Params_Data::MediaDevicesDispatcherHost_GetAllVideoInputDeviceFormats_Params_Data()
    :{}


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

MediaDevicesDispatcherHost_GetAllVideoInputDeviceFormats_ResponseParams_Data::MediaDevicesDispatcherHost_GetAllVideoInputDeviceFormats_ResponseParams_Data()
    :{}


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

MediaDevicesDispatcherHost_GetAvailableVideoInputDeviceFormats_Params_Data::MediaDevicesDispatcherHost_GetAvailableVideoInputDeviceFormats_Params_Data()
    :{}


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

MediaDevicesDispatcherHost_GetAvailableVideoInputDeviceFormats_ResponseParams_Data::MediaDevicesDispatcherHost_GetAvailableVideoInputDeviceFormats_ResponseParams_Data()
    :{}


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

MediaDevicesDispatcherHost_GetAudioInputCapabilities_Params_Data::MediaDevicesDispatcherHost_GetAudioInputCapabilities_Params_Data()
    :{}


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

MediaDevicesDispatcherHost_GetAudioInputCapabilities_ResponseParams_Data::MediaDevicesDispatcherHost_GetAudioInputCapabilities_ResponseParams_Data()
    :{}


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

MediaDevicesDispatcherHost_AddMediaDevicesListener_Params_Data::MediaDevicesDispatcherHost_AddMediaDevicesListener_Params_Data()
    :{}


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

MediaDevicesDispatcherHost_SetCaptureHandleConfig_Params_Data::MediaDevicesDispatcherHost_SetCaptureHandleConfig_Params_Data()
    :{}


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

MediaDevicesDispatcherHost_CloseFocusWindowOfOpportunity_Params_Data::MediaDevicesDispatcherHost_CloseFocusWindowOfOpportunity_Params_Data()
    :{}


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

MediaDevicesDispatcherHost_ProduceSubCaptureTargetId_Params_Data::MediaDevicesDispatcherHost_ProduceSubCaptureTargetId_Params_Data()
    :{}


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

MediaDevicesDispatcherHost_ProduceSubCaptureTargetId_ResponseParams_Data::MediaDevicesDispatcherHost_ProduceSubCaptureTargetId_ResponseParams_Data()
    :{}


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

MediaDevicesListener_OnDevicesChanged_Params_Data::MediaDevicesListener_OnDevicesChanged_Params_Data()
    :{}

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

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto