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

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

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


namespace media::mojom::blink {
VideoCodecInfo::VideoCodecInfo()
    :{}

VideoCodecInfo::VideoCodecInfo(
    WTF::Vector<::media::mojom::blink::VideoCodecProfile> supported_profiles_in,
    bool supports_clear_lead_in)
    :{}

VideoCodecInfo::~VideoCodecInfo() = default;

void VideoCodecInfo::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool VideoCodecInfo::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
CdmCapability::CdmCapability()
    :{}

CdmCapability::CdmCapability(
    WTF::Vector<::media::mojom::blink::AudioCodec> audio_codecs_in,
    WTF::HashMap<::media::mojom::blink::VideoCodec, VideoCodecInfoPtr> video_codecs_in,
    WTF::Vector<::media::mojom::blink::EncryptionScheme> encryption_schemes_in,
    WTF::Vector<::media::mojom::blink::CdmSessionType> session_types_in)
    :{}

CdmCapability::~CdmCapability() = default;

void CdmCapability::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool CdmCapability::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
KeySystemCapability::KeySystemCapability()
    :{}

KeySystemCapability::KeySystemCapability(
    CdmCapabilityPtr sw_secure_capability_in,
    CdmCapabilityPtr hw_secure_capability_in)
    :{}

KeySystemCapability::~KeySystemCapability() = default;

void KeySystemCapability::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool KeySystemCapability::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
const char KeySystemSupportObserver::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t KeySystemSupportObserver::OnKeySystemSupportUpdated_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void KeySystemSupportObserverProxy::OnKeySystemSupportUpdated(
    WTF::HashMap<WTF::String, KeySystemCapabilityPtr> in_key_systems) {}

// static
bool KeySystemSupportObserverStubDispatch::Accept(
    KeySystemSupportObserver* impl,
    mojo::Message* message) {}

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

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

const char KeySystemSupport::Name_[] =;

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


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

#if !BUILDFLAG(IS_FUCHSIA)
uint32_t KeySystemSupport::AddObserver_Sym::IPCStableHash() {}
# endif // !BUILDFLAG(IS_FUCHSIA)

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

void KeySystemSupportProxy::AddObserver(
    ::mojo::PendingRemote<KeySystemSupportObserver> in_observer) {}

// static
bool KeySystemSupportStubDispatch::Accept(
    KeySystemSupport* impl,
    mojo::Message* message) {}

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

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



}  // media::mojom::blink


namespace mojo {


// static
bool StructTraits<::media::mojom::blink::VideoCodecInfo::DataView, ::media::mojom::blink::VideoCodecInfoPtr>::Read(
    ::media::mojom::blink::VideoCodecInfo::DataView input,
    ::media::mojom::blink::VideoCodecInfoPtr* output) {}


// static
bool StructTraits<::media::mojom::blink::CdmCapability::DataView, ::media::mojom::blink::CdmCapabilityPtr>::Read(
    ::media::mojom::blink::CdmCapability::DataView input,
    ::media::mojom::blink::CdmCapabilityPtr* output) {}


// static
bool StructTraits<::media::mojom::blink::KeySystemCapability::DataView, ::media::mojom::blink::KeySystemCapabilityPtr>::Read(
    ::media::mojom::blink::KeySystemCapability::DataView input,
    ::media::mojom::blink::KeySystemCapabilityPtr* output) {}

}  // 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 KeySystemSupportObserverInterceptorForTesting::OnKeySystemSupportUpdated(WTF::HashMap<WTF::String, KeySystemCapabilityPtr> key_systems) {}
KeySystemSupportObserverAsyncWaiter::KeySystemSupportObserverAsyncWaiter(
    KeySystemSupportObserver* proxy) :{}

KeySystemSupportObserverAsyncWaiter::~KeySystemSupportObserverAsyncWaiter() = default;




void KeySystemSupportInterceptorForTesting::AddObserver(::mojo::PendingRemote<KeySystemSupportObserver> observer) {}
KeySystemSupportAsyncWaiter::KeySystemSupportAsyncWaiter(
    KeySystemSupport* proxy) :{}

KeySystemSupportAsyncWaiter::~KeySystemSupportAsyncWaiter() = default;






}  // media::mojom::blink


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