chromium/out/Default/gen/third_party/blink/public/mojom/mediasession/media_session.mojom-shared.cc

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

NOINLINE static const char* MediaSessionPlaybackStateToStringHelper(MediaSessionPlaybackState value) {}

std::string MediaSessionPlaybackStateToString(MediaSessionPlaybackState value) {}

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

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


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

MediaSessionSeekToDetails_Data::MediaSessionSeekToDetails_Data()
    :{}


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

SpecMediaMetadata_Data::SpecMediaMetadata_Data()
    :{}


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

MediaSessionClient_DidReceiveAction_Params_Data::MediaSessionClient_DidReceiveAction_Params_Data()
    :{}


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

MediaSessionService_SetClient_Params_Data::MediaSessionService_SetClient_Params_Data()
    :{}


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

MediaSessionService_SetPlaybackState_Params_Data::MediaSessionService_SetPlaybackState_Params_Data()
    :{}


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

MediaSessionService_SetPositionState_Params_Data::MediaSessionService_SetPositionState_Params_Data()
    :{}


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

MediaSessionService_SetMetadata_Params_Data::MediaSessionService_SetMetadata_Params_Data()
    :{}


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

MediaSessionService_SetMicrophoneState_Params_Data::MediaSessionService_SetMicrophoneState_Params_Data()
    :{}


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

MediaSessionService_SetCameraState_Params_Data::MediaSessionService_SetCameraState_Params_Data()
    :{}


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

MediaSessionService_EnableAction_Params_Data::MediaSessionService_EnableAction_Params_Data()
    :{}


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

MediaSessionService_DisableAction_Params_Data::MediaSessionService_DisableAction_Params_Data()
    :{}

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

namespace perfetto {

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

} // namespace perfetto