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

// media/mojo/mojom/media_metrics_provider.mojom.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.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-import-headers.h"
#include "media/mojo/mojom/media_metrics_provider.mojom-test-utils.h"


namespace media::mojom {
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::MediaStreamType in_stream_type) {}

void MediaMetricsProviderProxy::OnStarted(
    const ::media::PipelineStatus& in_status) {}

void MediaMetricsProviderProxy::OnError(
    const ::media::PipelineStatus& in_status) {}

void MediaMetricsProviderProxy::OnFallback(
    const ::media::PipelineStatus& 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::RendererType in_renderer_type) {}

void MediaMetricsProviderProxy::SetKeySystem(
    const std::string& in_key_system) {}

void MediaMetricsProviderProxy::SetHasWaitingForKey(
    ) {}

void MediaMetricsProviderProxy::SetIsHardwareSecure(
    ) {}

void MediaMetricsProviderProxy::SetContainerName(
    ::media::container_names::MediaContainerName in_container_name) {}

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

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

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

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

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

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

void MediaMetricsProviderProxy::SetVideoPipelineInfo(
    const ::media::VideoPipelineInfo& in_info) {}

void MediaMetricsProviderProxy::SetAudioPipelineInfo(
    const ::media::AudioPipelineInfo& 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


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 {


void MediaMetricsProviderInterceptorForTesting::Initialize(bool is_mse, MediaURLScheme url_scheme, ::media::mojom::MediaStreamType stream_type) {}
void MediaMetricsProviderInterceptorForTesting::OnStarted(const ::media::PipelineStatus& status) {}
void MediaMetricsProviderInterceptorForTesting::OnError(const ::media::PipelineStatus& status) {}
void MediaMetricsProviderInterceptorForTesting::OnFallback(const ::media::PipelineStatus& 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::RendererType renderer_type) {}
void MediaMetricsProviderInterceptorForTesting::SetKeySystem(const std::string& key_system) {}
void MediaMetricsProviderInterceptorForTesting::SetHasWaitingForKey() {}
void MediaMetricsProviderInterceptorForTesting::SetIsHardwareSecure() {}
void MediaMetricsProviderInterceptorForTesting::SetContainerName(::media::container_names::MediaContainerName container_name) {}
void MediaMetricsProviderInterceptorForTesting::AcquireWatchTimeRecorder(::media::mojom::PlaybackPropertiesPtr properties, ::mojo::PendingReceiver<::media::mojom::WatchTimeRecorder> recorder) {}
void MediaMetricsProviderInterceptorForTesting::AcquireVideoDecodeStatsRecorder(::mojo::PendingReceiver<::media::mojom::VideoDecodeStatsRecorder> recorder) {}
void MediaMetricsProviderInterceptorForTesting::AcquireLearningTaskController(const std::string& taskName, ::mojo::PendingReceiver<::media::learning::mojom::LearningTaskController> controller) {}
void MediaMetricsProviderInterceptorForTesting::AcquirePlaybackEventsRecorder(::mojo::PendingReceiver<::media::mojom::PlaybackEventsRecorder> receiver) {}
void MediaMetricsProviderInterceptorForTesting::SetHasAudio(::media::AudioCodec codec) {}
void MediaMetricsProviderInterceptorForTesting::SetHasVideo(::media::VideoCodec codec) {}
void MediaMetricsProviderInterceptorForTesting::SetVideoPipelineInfo(const ::media::VideoPipelineInfo& info) {}
void MediaMetricsProviderInterceptorForTesting::SetAudioPipelineInfo(const ::media::AudioPipelineInfo& info) {}
MediaMetricsProviderAsyncWaiter::MediaMetricsProviderAsyncWaiter(
    MediaMetricsProvider* proxy) :{}

MediaMetricsProviderAsyncWaiter::~MediaMetricsProviderAsyncWaiter() = default;






}  // media::mojom


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