chromium/out/Default/gen/media/mojo/mojom/renderer_extensions.mojom-blink.cc

// media/mojo/mojom/renderer_extensions.mojom-blink.cc is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif

#include "media/mojo/mojom/renderer_extensions.mojom-blink.h"

#include <math.h>
#include <stdint.h>
#include <utility>

#include "base/debug/alias.h"
#include "base/hash/md5_constexpr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/typed_macros.h"
#include "mojo/public/cpp/bindings/features.h"
#include "mojo/public/cpp/bindings/lib/default_construct_tag_internal.h"
#include "mojo/public/cpp/bindings/lib/generated_code_util.h"
#include "mojo/public/cpp/bindings/lib/message_internal.h"
#include "mojo/public/cpp/bindings/lib/proxy_to_responder.h"
#include "mojo/public/cpp/bindings/lib/send_message_helper.h"
#include "mojo/public/cpp/bindings/lib/serialization_util.h"
#include "mojo/public/cpp/bindings/lib/unserialized_message_context.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/mojo_buildflags.h"
#include "mojo/public/cpp/bindings/urgent_message_scope.h"
#include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"

#include "media/mojo/mojom/renderer_extensions.mojom-params-data.h"
#include "media/mojo/mojom/renderer_extensions.mojom-shared-message-ids.h"

#include "media/mojo/mojom/renderer_extensions.mojom-blink-import-headers.h"
#include "media/mojo/mojom/renderer_extensions.mojom-blink-test-utils.h"
#include "mojo/public/cpp/bindings/lib/wtf_serialization.h"


namespace media::mojom::blink {
const char MediaPlayerRendererClientExtension::Name_[] =;

MediaPlayerRendererClientExtension::IPCStableHashFunction MediaPlayerRendererClientExtension::MessageToMethodInfo_(mojo::Message& message) {}


const char* MediaPlayerRendererClientExtension::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t MediaPlayerRendererClientExtension::OnVideoSizeChange_Sym::IPCStableHash() {}
uint32_t MediaPlayerRendererClientExtension::OnDurationChange_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

MediaPlayerRendererClientExtensionProxy::MediaPlayerRendererClientExtensionProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void MediaPlayerRendererClientExtensionProxy::OnVideoSizeChange(
    const ::gfx::Size& in_size) {}

void MediaPlayerRendererClientExtensionProxy::OnDurationChange(
    ::base::TimeDelta in_duration) {}

// static
bool MediaPlayerRendererClientExtensionStubDispatch::Accept(
    MediaPlayerRendererClientExtension* impl,
    mojo::Message* message) {}

// static
bool MediaPlayerRendererClientExtensionStubDispatch::AcceptWithResponder(
    MediaPlayerRendererClientExtension* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kMediaPlayerRendererClientExtensionValidationInfo[] =;

bool MediaPlayerRendererClientExtensionRequestValidator::Accept(mojo::Message* message) {}

const char MediaPlayerRendererExtension::Name_[] =;

MediaPlayerRendererExtension::IPCStableHashFunction MediaPlayerRendererExtension::MessageToMethodInfo_(mojo::Message& message) {}


const char* MediaPlayerRendererExtension::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t MediaPlayerRendererExtension::InitiateScopedSurfaceRequest_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

class MediaPlayerRendererExtension_InitiateScopedSurfaceRequest_ForwardToCallback
    : public mojo::MessageReceiver {};

MediaPlayerRendererExtensionProxy::MediaPlayerRendererExtensionProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void MediaPlayerRendererExtensionProxy::InitiateScopedSurfaceRequest(
    InitiateScopedSurfaceRequestCallback callback) {}
class MediaPlayerRendererExtension_InitiateScopedSurfaceRequest_ProxyToResponder : public ::mojo::internal::ProxyToResponder {};

bool MediaPlayerRendererExtension_InitiateScopedSurfaceRequest_ForwardToCallback::Accept(
    mojo::Message* message) {}

void MediaPlayerRendererExtension_InitiateScopedSurfaceRequest_ProxyToResponder::Run(
    const ::base::UnguessableToken& in_request_token) {}

// static
bool MediaPlayerRendererExtensionStubDispatch::Accept(
    MediaPlayerRendererExtension* impl,
    mojo::Message* message) {}

// static
bool MediaPlayerRendererExtensionStubDispatch::AcceptWithResponder(
    MediaPlayerRendererExtension* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kMediaPlayerRendererExtensionValidationInfo[] =;

bool MediaPlayerRendererExtensionRequestValidator::Accept(mojo::Message* message) {}

bool MediaPlayerRendererExtensionResponseValidator::Accept(mojo::Message* message) {}
const char FlingingRendererClientExtension::Name_[] =;

FlingingRendererClientExtension::IPCStableHashFunction FlingingRendererClientExtension::MessageToMethodInfo_(mojo::Message& message) {}


const char* FlingingRendererClientExtension::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t FlingingRendererClientExtension::OnRemotePlayStateChange_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

FlingingRendererClientExtensionProxy::FlingingRendererClientExtensionProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void FlingingRendererClientExtensionProxy::OnRemotePlayStateChange(
    ::media::mojom::blink::MediaStatusState in_state) {}

// static
bool FlingingRendererClientExtensionStubDispatch::Accept(
    FlingingRendererClientExtension* impl,
    mojo::Message* message) {}

// static
bool FlingingRendererClientExtensionStubDispatch::AcceptWithResponder(
    FlingingRendererClientExtension* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kFlingingRendererClientExtensionValidationInfo[] =;

bool FlingingRendererClientExtensionRequestValidator::Accept(mojo::Message* message) {}

const char MediaFoundationRendererObserver::Name_[] =;

MediaFoundationRendererObserver::IPCStableHashFunction MediaFoundationRendererObserver::MessageToMethodInfo_(mojo::Message& message) {}


const char* MediaFoundationRendererObserver::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
# endif // !BUILDFLAG(IS_FUCHSIA)

MediaFoundationRendererObserverProxy::MediaFoundationRendererObserverProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

// static
bool MediaFoundationRendererObserverStubDispatch::Accept(
    MediaFoundationRendererObserver* impl,
    mojo::Message* message) {}

// static
bool MediaFoundationRendererObserverStubDispatch::AcceptWithResponder(
    MediaFoundationRendererObserver* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace

bool MediaFoundationRendererObserverRequestValidator::Accept(mojo::Message* message) {}

const char MediaFoundationRendererNotifier::Name_[] =;

MediaFoundationRendererNotifier::IPCStableHashFunction MediaFoundationRendererNotifier::MessageToMethodInfo_(mojo::Message& message) {}


const char* MediaFoundationRendererNotifier::MessageToMethodName_(mojo::Message& message) {}

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t MediaFoundationRendererNotifier::MediaFoundationRendererCreated_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

MediaFoundationRendererNotifierProxy::MediaFoundationRendererNotifierProxy(mojo::MessageReceiverWithResponder* receiver)
    :{}

void MediaFoundationRendererNotifierProxy::MediaFoundationRendererCreated(
    ::mojo::PendingReceiver<MediaFoundationRendererObserver> in_observer) {}

// static
bool MediaFoundationRendererNotifierStubDispatch::Accept(
    MediaFoundationRendererNotifier* impl,
    mojo::Message* message) {}

// static
bool MediaFoundationRendererNotifierStubDispatch::AcceptWithResponder(
    MediaFoundationRendererNotifier* impl,
    mojo::Message* message,
    std::unique_ptr<mojo::MessageReceiverWithStatus> responder) {}
namespace {
}  // namespace
static const mojo::internal::GenericValidationInfo kMediaFoundationRendererNotifierValidationInfo[] =;

bool MediaFoundationRendererNotifierRequestValidator::Accept(mojo::Message* message) {}



}  // media::mojom::blink


namespace mojo {

}  // namespace mojo


// Symbols declared in the -test-utils.h header are defined here instead of a
// separate .cc file to save compile time.


namespace media::mojom::blink {


void MediaPlayerRendererClientExtensionInterceptorForTesting::OnVideoSizeChange(const ::gfx::Size& size) {}
void MediaPlayerRendererClientExtensionInterceptorForTesting::OnDurationChange(::base::TimeDelta duration) {}
MediaPlayerRendererClientExtensionAsyncWaiter::MediaPlayerRendererClientExtensionAsyncWaiter(
    MediaPlayerRendererClientExtension* proxy) :{}

MediaPlayerRendererClientExtensionAsyncWaiter::~MediaPlayerRendererClientExtensionAsyncWaiter() = default;




void MediaPlayerRendererExtensionInterceptorForTesting::InitiateScopedSurfaceRequest(InitiateScopedSurfaceRequestCallback callback) {}
MediaPlayerRendererExtensionAsyncWaiter::MediaPlayerRendererExtensionAsyncWaiter(
    MediaPlayerRendererExtension* proxy) :{}

MediaPlayerRendererExtensionAsyncWaiter::~MediaPlayerRendererExtensionAsyncWaiter() = default;

void MediaPlayerRendererExtensionAsyncWaiter::InitiateScopedSurfaceRequest(
    ::base::UnguessableToken* out_request_token) {}

::base::UnguessableToken MediaPlayerRendererExtensionAsyncWaiter::InitiateScopedSurfaceRequest(
    ) {}




void FlingingRendererClientExtensionInterceptorForTesting::OnRemotePlayStateChange(::media::mojom::blink::MediaStatusState state) {}
FlingingRendererClientExtensionAsyncWaiter::FlingingRendererClientExtensionAsyncWaiter(
    FlingingRendererClientExtension* proxy) :{}

FlingingRendererClientExtensionAsyncWaiter::~FlingingRendererClientExtensionAsyncWaiter() = default;




MediaFoundationRendererObserverAsyncWaiter::MediaFoundationRendererObserverAsyncWaiter(
    MediaFoundationRendererObserver* proxy) :{}

MediaFoundationRendererObserverAsyncWaiter::~MediaFoundationRendererObserverAsyncWaiter() = default;




void MediaFoundationRendererNotifierInterceptorForTesting::MediaFoundationRendererCreated(::mojo::PendingReceiver<MediaFoundationRendererObserver> observer) {}
MediaFoundationRendererNotifierAsyncWaiter::MediaFoundationRendererNotifierAsyncWaiter(
    MediaFoundationRendererNotifier* proxy) :{}

MediaFoundationRendererNotifierAsyncWaiter::~MediaFoundationRendererNotifierAsyncWaiter() = default;






}  // media::mojom::blink


#if defined(__clang__)
#pragma clang diagnostic pop
#endif