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

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

NOINLINE static const char* MediaStreamTypeToStringHelper(MediaStreamType value) {}

std::string MediaStreamTypeToString(MediaStreamType value) {}

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

NOINLINE static const char* MediaStreamRequestResultToStringHelper(MediaStreamRequestResult value) {}

std::string MediaStreamRequestResultToString(MediaStreamRequestResult value) {}

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

NOINLINE static const char* MediaStreamStateChangeToStringHelper(MediaStreamStateChange value) {}

std::string MediaStreamStateChangeToString(MediaStreamStateChange value) {}

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

NOINLINE static const char* PreferredDisplaySurfaceToStringHelper(PreferredDisplaySurface value) {}

std::string PreferredDisplaySurfaceToString(PreferredDisplaySurface value) {}

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

NOINLINE static const char* CapturedSurfaceControlResultToStringHelper(CapturedSurfaceControlResult value) {}

std::string CapturedSurfaceControlResultToString(CapturedSurfaceControlResult value) {}

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

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


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

SearchOnlyByDeviceId_Data::SearchOnlyByDeviceId_Data()
    :{}


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

SearchBySessionId_Data::SearchBySessionId_Data()
    :{}


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

MediaStreamDevice_Data::MediaStreamDevice_Data()
    :{}


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

TrackControls_Data::TrackControls_Data()
    :{}


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

StreamControls_Data::StreamControls_Data()
    :{}


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

GetOpenDeviceResponse_Data::GetOpenDeviceResponse_Data()
    :{}


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

CapturedWheelAction_Data::CapturedWheelAction_Data()
    :{}


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

StreamDevices_Data::StreamDevices_Data()
    :{}


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

StreamDevicesSet_Data::StreamDevicesSet_Data()
    :{}


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

MediaStreamDeviceObserver_OnDeviceStopped_Params_Data::MediaStreamDeviceObserver_OnDeviceStopped_Params_Data()
    :{}


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

MediaStreamDeviceObserver_OnDeviceChanged_Params_Data::MediaStreamDeviceObserver_OnDeviceChanged_Params_Data()
    :{}


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

MediaStreamDeviceObserver_OnDeviceRequestStateChange_Params_Data::MediaStreamDeviceObserver_OnDeviceRequestStateChange_Params_Data()
    :{}


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

MediaStreamDeviceObserver_OnDeviceCaptureConfigurationChange_Params_Data::MediaStreamDeviceObserver_OnDeviceCaptureConfigurationChange_Params_Data()
    :{}


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

MediaStreamDeviceObserver_OnDeviceCaptureHandleChange_Params_Data::MediaStreamDeviceObserver_OnDeviceCaptureHandleChange_Params_Data()
    :{}


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

MediaStreamDeviceObserver_OnZoomLevelChange_Params_Data::MediaStreamDeviceObserver_OnZoomLevelChange_Params_Data()
    :{}


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

MediaStreamDispatcherHost_GenerateStreams_Params_Data::MediaStreamDispatcherHost_GenerateStreams_Params_Data()
    :{}


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

MediaStreamDispatcherHost_GenerateStreams_ResponseParams_Data::MediaStreamDispatcherHost_GenerateStreams_ResponseParams_Data()
    :{}


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

MediaStreamDispatcherHost_FocusCapturedSurface_Params_Data::MediaStreamDispatcherHost_FocusCapturedSurface_Params_Data()
    :{}


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

MediaStreamDispatcherHost_CancelRequest_Params_Data::MediaStreamDispatcherHost_CancelRequest_Params_Data()
    :{}


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

MediaStreamDispatcherHost_StopStreamDevice_Params_Data::MediaStreamDispatcherHost_StopStreamDevice_Params_Data()
    :{}


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

MediaStreamDispatcherHost_OpenDevice_Params_Data::MediaStreamDispatcherHost_OpenDevice_Params_Data()
    :{}


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

MediaStreamDispatcherHost_OpenDevice_ResponseParams_Data::MediaStreamDispatcherHost_OpenDevice_ResponseParams_Data()
    :{}


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

MediaStreamDispatcherHost_CloseDevice_Params_Data::MediaStreamDispatcherHost_CloseDevice_Params_Data()
    :{}


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

MediaStreamDispatcherHost_SetCapturingLinkSecured_Params_Data::MediaStreamDispatcherHost_SetCapturingLinkSecured_Params_Data()
    :{}


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

MediaStreamDispatcherHost_ApplySubCaptureTarget_Params_Data::MediaStreamDispatcherHost_ApplySubCaptureTarget_Params_Data()
    :{}


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

MediaStreamDispatcherHost_ApplySubCaptureTarget_ResponseParams_Data::MediaStreamDispatcherHost_ApplySubCaptureTarget_ResponseParams_Data()
    :{}


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

MediaStreamDispatcherHost_SendWheel_Params_Data::MediaStreamDispatcherHost_SendWheel_Params_Data()
    :{}


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

MediaStreamDispatcherHost_SendWheel_ResponseParams_Data::MediaStreamDispatcherHost_SendWheel_ResponseParams_Data()
    :{}


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

MediaStreamDispatcherHost_SetZoomLevel_Params_Data::MediaStreamDispatcherHost_SetZoomLevel_Params_Data()
    :{}


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

MediaStreamDispatcherHost_SetZoomLevel_ResponseParams_Data::MediaStreamDispatcherHost_SetZoomLevel_ResponseParams_Data()
    :{}


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

MediaStreamDispatcherHost_RequestCapturedSurfaceControlPermission_Params_Data::MediaStreamDispatcherHost_RequestCapturedSurfaceControlPermission_Params_Data()
    :{}


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

MediaStreamDispatcherHost_RequestCapturedSurfaceControlPermission_ResponseParams_Data::MediaStreamDispatcherHost_RequestCapturedSurfaceControlPermission_ResponseParams_Data()
    :{}


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

MediaStreamDispatcherHost_GetOpenDevice_Params_Data::MediaStreamDispatcherHost_GetOpenDevice_Params_Data()
    :{}


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

MediaStreamDispatcherHost_GetOpenDevice_ResponseParams_Data::MediaStreamDispatcherHost_GetOpenDevice_ResponseParams_Data()
    :{}


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

MediaStreamDispatcherHost_KeepDeviceAliveForTransfer_Params_Data::MediaStreamDispatcherHost_KeepDeviceAliveForTransfer_Params_Data()
    :{}


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

MediaStreamDispatcherHost_KeepDeviceAliveForTransfer_ResponseParams_Data::MediaStreamDispatcherHost_KeepDeviceAliveForTransfer_ResponseParams_Data()
    :{}


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

MediaStreamTrackMetricsHost_AddTrack_Params_Data::MediaStreamTrackMetricsHost_AddTrack_Params_Data()
    :{}


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

MediaStreamTrackMetricsHost_RemoveTrack_Params_Data::MediaStreamTrackMetricsHost_RemoveTrack_Params_Data()
    :{}

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

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto