#ifndef MEDIA_MOJO_MOJOM_KEY_SYSTEM_SUPPORT_MOJOM_SHARED_H_
#define MEDIA_MOJO_MOJOM_KEY_SYSTEM_SUPPORT_MOJOM_SHARED_H_
#include <stdint.h>
#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "mojo/public/cpp/bindings/array_data_view.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/interface_data_view.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/map_data_view.h"
#include "mojo/public/cpp/bindings/string_data_view.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
#include "media/mojo/mojom/key_system_support.mojom-shared-internal.h"
#include "media/mojo/mojom/content_decryption_module.mojom-shared.h"
#include "media/mojo/mojom/media_types.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "mojo/public/cpp/bindings/native_enum.h"
#include "mojo/public/cpp/bindings/lib/native_struct_serialization.h"
namespace media::mojom {
class VideoCodecInfoDataView;
class CdmCapabilityDataView;
class KeySystemCapabilityDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::media::mojom::VideoCodecInfoDataView> { … };
template <>
struct MojomTypeTraits<::media::mojom::CdmCapabilityDataView> { … };
template <>
struct MojomTypeTraits<::media::mojom::KeySystemCapabilityDataView> { … };
}
}
namespace media::mojom {
class KeySystemSupportObserverInterfaceBase { … };
KeySystemSupportObserverPtrDataView;
KeySystemSupportObserverRequestDataView;
KeySystemSupportObserverAssociatedPtrInfoDataView;
KeySystemSupportObserverAssociatedRequestDataView;
class KeySystemSupportInterfaceBase { … };
KeySystemSupportPtrDataView;
KeySystemSupportRequestDataView;
KeySystemSupportAssociatedPtrInfoDataView;
KeySystemSupportAssociatedRequestDataView;
class VideoCodecInfoDataView { … };
class CdmCapabilityDataView { … };
class KeySystemCapabilityDataView { … };
}
namespace std {
}
namespace mojo {
namespace internal {
Serializer< ::media::mojom::VideoCodecInfoDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::media::mojom::CdmCapabilityDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::media::mojom::KeySystemCapabilityDataView, MaybeConstUserType>;
}
}
namespace media::mojom {
inline void VideoCodecInfoDataView::GetSupportedProfilesDataView(
mojo::ArrayDataView<::media::mojom::VideoCodecProfile>* output) { … }
inline void CdmCapabilityDataView::GetAudioCodecsDataView(
mojo::ArrayDataView<::media::mojom::AudioCodec>* output) { … }
inline void CdmCapabilityDataView::GetVideoCodecsDataView(
mojo::MapDataView<::media::mojom::VideoCodec, VideoCodecInfoDataView>* output) { … }
inline void CdmCapabilityDataView::GetEncryptionSchemesDataView(
mojo::ArrayDataView<::media::mojom::EncryptionScheme>* output) { … }
inline void CdmCapabilityDataView::GetSessionTypesDataView(
mojo::ArrayDataView<::media::mojom::CdmSessionType>* output) { … }
inline void KeySystemCapabilityDataView::GetSwSecureCapabilityDataView(
CdmCapabilityDataView* output) { … }
inline void KeySystemCapabilityDataView::GetHwSecureCapabilityDataView(
CdmCapabilityDataView* output) { … }
}
#endif