chromium/out/Default/gen/services/viz/public/mojom/compositing/compositor_frame_sink.mojom-shared.cc

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

NOINLINE static const char* CompositorFrameSinkTypeToStringHelper(CompositorFrameSinkType value) {}

std::string CompositorFrameSinkTypeToString(CompositorFrameSinkType value) {}

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

namespace internal {


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

CompositorFrameSink_SetNeedsBeginFrame_Params_Data::CompositorFrameSink_SetNeedsBeginFrame_Params_Data()
    :{}


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

CompositorFrameSink_SetWantsAnimateOnlyBeginFrames_Params_Data::CompositorFrameSink_SetWantsAnimateOnlyBeginFrames_Params_Data()
    :{}


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

CompositorFrameSink_SetWantsBeginFrameAcks_Params_Data::CompositorFrameSink_SetWantsBeginFrameAcks_Params_Data()
    :{}


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

CompositorFrameSink_SetAutoNeedsBeginFrame_Params_Data::CompositorFrameSink_SetAutoNeedsBeginFrame_Params_Data()
    :{}


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

CompositorFrameSink_SubmitCompositorFrame_Params_Data::CompositorFrameSink_SubmitCompositorFrame_Params_Data()
    :{}


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

CompositorFrameSink_SubmitCompositorFrameSync_Params_Data::CompositorFrameSink_SubmitCompositorFrameSync_Params_Data()
    :{}


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

CompositorFrameSink_SubmitCompositorFrameSync_ResponseParams_Data::CompositorFrameSink_SubmitCompositorFrameSync_ResponseParams_Data()
    :{}


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

CompositorFrameSink_DidNotProduceFrame_Params_Data::CompositorFrameSink_DidNotProduceFrame_Params_Data()
    :{}


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

CompositorFrameSink_DidAllocateSharedBitmap_Params_Data::CompositorFrameSink_DidAllocateSharedBitmap_Params_Data()
    :{}


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

CompositorFrameSink_DidDeleteSharedBitmap_Params_Data::CompositorFrameSink_DidDeleteSharedBitmap_Params_Data()
    :{}


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

CompositorFrameSink_InitializeCompositorFrameSinkType_Params_Data::CompositorFrameSink_InitializeCompositorFrameSinkType_Params_Data()
    :{}


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

CompositorFrameSink_BindLayerContext_Params_Data::CompositorFrameSink_BindLayerContext_Params_Data()
    :{}


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

CompositorFrameSinkClient_DidReceiveCompositorFrameAck_Params_Data::CompositorFrameSinkClient_DidReceiveCompositorFrameAck_Params_Data()
    :{}


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

CompositorFrameSinkClient_OnBeginFrame_Params_Data::CompositorFrameSinkClient_OnBeginFrame_Params_Data()
    :{}


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

CompositorFrameSinkClient_OnBeginFramePausedChanged_Params_Data::CompositorFrameSinkClient_OnBeginFramePausedChanged_Params_Data()
    :{}


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

CompositorFrameSinkClient_ReclaimResources_Params_Data::CompositorFrameSinkClient_ReclaimResources_Params_Data()
    :{}


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

CompositorFrameSinkClient_OnCompositorFrameTransitionDirectiveProcessed_Params_Data::CompositorFrameSinkClient_OnCompositorFrameTransitionDirectiveProcessed_Params_Data()
    :{}


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

CompositorFrameSinkClient_OnSurfaceEvicted_Params_Data::CompositorFrameSinkClient_OnSurfaceEvicted_Params_Data()
    :{}

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

namespace perfetto {

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

} // namespace perfetto