chromium/out/Default/gen/services/viz/privileged/mojom/compositing/frame_sink_video_capture.mojom-shared.cc

// services/viz/privileged/mojom/compositing/frame_sink_video_capture.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/viz/privileged/mojom/compositing/frame_sink_video_capture.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/viz/privileged/mojom/compositing/frame_sink_video_capture.mojom-params-data.h"
namespace viz {
namespace mojom {

NOINLINE static const char* BufferFormatPreferenceToStringHelper(BufferFormatPreference value) {}

std::string BufferFormatPreferenceToString(BufferFormatPreference value) {}

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

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


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

VideoCaptureTarget_Data::VideoCaptureTarget_Data()
    :{}


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

FrameSinkVideoConsumerFrameCallbacks_Done_Params_Data::FrameSinkVideoConsumerFrameCallbacks_Done_Params_Data()
    :{}


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

FrameSinkVideoConsumerFrameCallbacks_ProvideFeedback_Params_Data::FrameSinkVideoConsumerFrameCallbacks_ProvideFeedback_Params_Data()
    :{}


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

FrameSinkVideoConsumer_OnFrameCaptured_Params_Data::FrameSinkVideoConsumer_OnFrameCaptured_Params_Data()
    :{}


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

FrameSinkVideoConsumer_OnNewSubCaptureTargetVersion_Params_Data::FrameSinkVideoConsumer_OnNewSubCaptureTargetVersion_Params_Data()
    :{}


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

FrameSinkVideoConsumer_OnFrameWithEmptyRegionCapture_Params_Data::FrameSinkVideoConsumer_OnFrameWithEmptyRegionCapture_Params_Data()
    :{}


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

FrameSinkVideoConsumer_OnStopped_Params_Data::FrameSinkVideoConsumer_OnStopped_Params_Data()
    :{}


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

FrameSinkVideoConsumer_OnLog_Params_Data::FrameSinkVideoConsumer_OnLog_Params_Data()
    :{}


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

FrameSinkVideoCapturer_SetFormat_Params_Data::FrameSinkVideoCapturer_SetFormat_Params_Data()
    :{}


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

FrameSinkVideoCapturer_SetMinCapturePeriod_Params_Data::FrameSinkVideoCapturer_SetMinCapturePeriod_Params_Data()
    :{}


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

FrameSinkVideoCapturer_SetMinSizeChangePeriod_Params_Data::FrameSinkVideoCapturer_SetMinSizeChangePeriod_Params_Data()
    :{}


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

FrameSinkVideoCapturer_SetResolutionConstraints_Params_Data::FrameSinkVideoCapturer_SetResolutionConstraints_Params_Data()
    :{}


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

FrameSinkVideoCapturer_SetAutoThrottlingEnabled_Params_Data::FrameSinkVideoCapturer_SetAutoThrottlingEnabled_Params_Data()
    :{}


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

FrameSinkVideoCapturer_ChangeTarget_Params_Data::FrameSinkVideoCapturer_ChangeTarget_Params_Data()
    :{}


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

FrameSinkVideoCapturer_Start_Params_Data::FrameSinkVideoCapturer_Start_Params_Data()
    :{}


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

FrameSinkVideoCapturer_Stop_Params_Data::FrameSinkVideoCapturer_Stop_Params_Data()
    :{}


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

FrameSinkVideoCapturer_RequestRefreshFrame_Params_Data::FrameSinkVideoCapturer_RequestRefreshFrame_Params_Data()
    :{}


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

FrameSinkVideoCapturer_CreateOverlay_Params_Data::FrameSinkVideoCapturer_CreateOverlay_Params_Data()
    :{}


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

FrameSinkVideoCaptureOverlay_SetImageAndBounds_Params_Data::FrameSinkVideoCaptureOverlay_SetImageAndBounds_Params_Data()
    :{}


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

FrameSinkVideoCaptureOverlay_SetBounds_Params_Data::FrameSinkVideoCaptureOverlay_SetBounds_Params_Data()
    :{}


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

FrameSinkVideoCaptureOverlay_OnCapturedMouseEvent_Params_Data::FrameSinkVideoCaptureOverlay_OnCapturedMouseEvent_Params_Data()
    :{}

}  // namespace internal
}  // namespace mojom
}  // namespace viz

namespace perfetto {

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

} // namespace perfetto