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

// media/mojo/mojom/media_metrics_provider.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/media_metrics_provider.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/media_metrics_provider.mojom-params-data.h"
#include "media/mojo/mojom/media_metrics_provider.mojom-shared-message-ids.h"

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


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

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t MediaMetricsProvider::Initialize_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::OnStarted_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::OnError_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::OnFallback_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::SetHasPlayed_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::SetHaveEnough_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::SetIsEME_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::SetTimeToMetadata_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::SetTimeToFirstFrame_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::SetTimeToPlayReady_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::SetRendererType_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::SetKeySystem_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::SetHasWaitingForKey_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::SetIsHardwareSecure_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::SetContainerName_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::AcquireWatchTimeRecorder_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::AcquireVideoDecodeStatsRecorder_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::AcquireLearningTaskController_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::AcquirePlaybackEventsRecorder_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::SetHasAudio_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::SetHasVideo_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::SetVideoPipelineInfo_Sym::IPCStableHash() {}
uint32_t MediaMetricsProvider::SetAudioPipelineInfo_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void MediaMetricsProviderProxy::Initialize(
    bool in_is_mse, MediaURLScheme in_url_scheme, ::media::mojom::blink::MediaStreamType in_stream_type) {}

void MediaMetricsProviderProxy::OnStarted(
    ::media::mojom::blink::PipelineStatusPtr in_status) {}

void MediaMetricsProviderProxy::OnError(
    ::media::mojom::blink::PipelineStatusPtr in_status) {}

void MediaMetricsProviderProxy::OnFallback(
    ::media::mojom::blink::PipelineStatusPtr in_status) {}

void MediaMetricsProviderProxy::SetHasPlayed(
    ) {}

void MediaMetricsProviderProxy::SetHaveEnough(
    ) {}

void MediaMetricsProviderProxy::SetIsEME(
    ) {}

void MediaMetricsProviderProxy::SetTimeToMetadata(
    ::base::TimeDelta in_elapsed) {}

void MediaMetricsProviderProxy::SetTimeToFirstFrame(
    ::base::TimeDelta in_elapsed) {}

void MediaMetricsProviderProxy::SetTimeToPlayReady(
    ::base::TimeDelta in_elapsed) {}

void MediaMetricsProviderProxy::SetRendererType(
    ::media::mojom::blink::RendererType in_renderer_type) {}

void MediaMetricsProviderProxy::SetKeySystem(
    const WTF::String& in_key_system) {}

void MediaMetricsProviderProxy::SetHasWaitingForKey(
    ) {}

void MediaMetricsProviderProxy::SetIsHardwareSecure(
    ) {}

void MediaMetricsProviderProxy::SetContainerName(
    ::media::mojom::blink::MediaContainerName in_container_name) {}

void MediaMetricsProviderProxy::AcquireWatchTimeRecorder(
    ::media::mojom::blink::PlaybackPropertiesPtr in_properties, ::mojo::PendingReceiver<::media::mojom::blink::WatchTimeRecorder> in_recorder) {}

void MediaMetricsProviderProxy::AcquireVideoDecodeStatsRecorder(
    ::mojo::PendingReceiver<::media::mojom::blink::VideoDecodeStatsRecorder> in_recorder) {}

void MediaMetricsProviderProxy::AcquireLearningTaskController(
    const WTF::String& in_taskName, ::mojo::PendingReceiver<::media::learning::mojom::blink::LearningTaskController> in_controller) {}

void MediaMetricsProviderProxy::AcquirePlaybackEventsRecorder(
    ::mojo::PendingReceiver<::media::mojom::blink::PlaybackEventsRecorder> in_receiver) {}

void MediaMetricsProviderProxy::SetHasAudio(
    ::media::mojom::blink::AudioCodec in_codec) {}

void MediaMetricsProviderProxy::SetHasVideo(
    ::media::mojom::blink::VideoCodec in_codec) {}

void MediaMetricsProviderProxy::SetVideoPipelineInfo(
    ::media::mojom::blink::VideoPipelineInfoPtr in_info) {}

void MediaMetricsProviderProxy::SetAudioPipelineInfo(
    ::media::mojom::blink::AudioPipelineInfoPtr in_info) {}

// static
bool MediaMetricsProviderStubDispatch::Accept(
    MediaMetricsProvider* impl,
    mojo::Message* message) {}

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

bool MediaMetricsProviderRequestValidator::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 MediaMetricsProviderInterceptorForTesting::Initialize(bool is_mse, MediaURLScheme url_scheme, ::media::mojom::blink::MediaStreamType stream_type) {}
void MediaMetricsProviderInterceptorForTesting::OnStarted(::media::mojom::blink::PipelineStatusPtr status) {}
void MediaMetricsProviderInterceptorForTesting::OnError(::media::mojom::blink::PipelineStatusPtr status) {}
void MediaMetricsProviderInterceptorForTesting::OnFallback(::media::mojom::blink::PipelineStatusPtr status) {}
void MediaMetricsProviderInterceptorForTesting::SetHasPlayed() {}
void MediaMetricsProviderInterceptorForTesting::SetHaveEnough() {}
void MediaMetricsProviderInterceptorForTesting::SetIsEME() {}
void MediaMetricsProviderInterceptorForTesting::SetTimeToMetadata(::base::TimeDelta elapsed) {}
void MediaMetricsProviderInterceptorForTesting::SetTimeToFirstFrame(::base::TimeDelta elapsed) {}
void MediaMetricsProviderInterceptorForTesting::SetTimeToPlayReady(::base::TimeDelta elapsed) {}
void MediaMetricsProviderInterceptorForTesting::SetRendererType(::media::mojom::blink::RendererType renderer_type) {}
void MediaMetricsProviderInterceptorForTesting::SetKeySystem(const WTF::String& key_system) {}
void MediaMetricsProviderInterceptorForTesting::SetHasWaitingForKey() {}
void MediaMetricsProviderInterceptorForTesting::SetIsHardwareSecure() {}
void MediaMetricsProviderInterceptorForTesting::SetContainerName(::media::mojom::blink::MediaContainerName container_name) {}
void MediaMetricsProviderInterceptorForTesting::AcquireWatchTimeRecorder(::media::mojom::blink::PlaybackPropertiesPtr properties, ::mojo::PendingReceiver<::media::mojom::blink::WatchTimeRecorder> recorder) {}
void MediaMetricsProviderInterceptorForTesting::AcquireVideoDecodeStatsRecorder(::mojo::PendingReceiver<::media::mojom::blink::VideoDecodeStatsRecorder> recorder) {}
void MediaMetricsProviderInterceptorForTesting::AcquireLearningTaskController(const WTF::String& taskName, ::mojo::PendingReceiver<::media::learning::mojom::blink::LearningTaskController> controller) {}
void MediaMetricsProviderInterceptorForTesting::AcquirePlaybackEventsRecorder(::mojo::PendingReceiver<::media::mojom::blink::PlaybackEventsRecorder> receiver) {}
void MediaMetricsProviderInterceptorForTesting::SetHasAudio(::media::mojom::blink::AudioCodec codec) {}
void MediaMetricsProviderInterceptorForTesting::SetHasVideo(::media::mojom::blink::VideoCodec codec) {}
void MediaMetricsProviderInterceptorForTesting::SetVideoPipelineInfo(::media::mojom::blink::VideoPipelineInfoPtr info) {}
void MediaMetricsProviderInterceptorForTesting::SetAudioPipelineInfo(::media::mojom::blink::AudioPipelineInfoPtr info) {}
MediaMetricsProviderAsyncWaiter::MediaMetricsProviderAsyncWaiter(
    MediaMetricsProvider* proxy) :{}

MediaMetricsProviderAsyncWaiter::~MediaMetricsProviderAsyncWaiter() = default;






}  // media::mojom::blink


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