#ifndef MEDIA_MOJO_MOJOM_REMOTING_COMMON_MOJOM_SHARED_H_
#define MEDIA_MOJO_MOJOM_REMOTING_COMMON_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/remoting_common.mojom-shared-internal.h"
namespace media::mojom {
class RemotingSinkMetadataDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::media::mojom::RemotingSinkMetadataDataView> { … };
}
}
namespace media::mojom {
enum class RemotingStopReason : int32_t { … };
std::ostream& operator<<(std::ostream& os, RemotingStopReason value);
inline bool IsKnownEnumValue(RemotingStopReason value) { … }
enum class RemotingStartFailReason : int32_t { … };
std::ostream& operator<<(std::ostream& os, RemotingStartFailReason value);
inline bool IsKnownEnumValue(RemotingStartFailReason value) { … }
enum class RemotingSinkFeature : int32_t { … };
std::ostream& operator<<(std::ostream& os, RemotingSinkFeature value);
inline bool IsKnownEnumValue(RemotingSinkFeature value) { … }
enum class RemotingSinkAudioCapability : int32_t { … };
std::ostream& operator<<(std::ostream& os, RemotingSinkAudioCapability value);
inline bool IsKnownEnumValue(RemotingSinkAudioCapability value) { … }
enum class RemotingSinkVideoCapability : int32_t { … };
std::ostream& operator<<(std::ostream& os, RemotingSinkVideoCapability value);
inline bool IsKnownEnumValue(RemotingSinkVideoCapability value) { … }
class RemotingSinkMetadataDataView { … };
}
namespace std {
template <>
struct hash<::media::mojom::RemotingStopReason>
: public mojo::internal::EnumHashImpl<::media::mojom::RemotingStopReason> { … };
template <>
struct hash<::media::mojom::RemotingStartFailReason>
: public mojo::internal::EnumHashImpl<::media::mojom::RemotingStartFailReason> { … };
template <>
struct hash<::media::mojom::RemotingSinkFeature>
: public mojo::internal::EnumHashImpl<::media::mojom::RemotingSinkFeature> { … };
template <>
struct hash<::media::mojom::RemotingSinkAudioCapability>
: public mojo::internal::EnumHashImpl<::media::mojom::RemotingSinkAudioCapability> { … };
template <>
struct hash<::media::mojom::RemotingSinkVideoCapability>
: public mojo::internal::EnumHashImpl<::media::mojom::RemotingSinkVideoCapability> { … };
}
namespace mojo {
namespace internal {
Serializer< ::media::mojom::RemotingStopReason, MaybeConstUserType>;
}
namespace internal {
Serializer< ::media::mojom::RemotingStartFailReason, MaybeConstUserType>;
}
namespace internal {
Serializer< ::media::mojom::RemotingSinkFeature, MaybeConstUserType>;
}
namespace internal {
Serializer< ::media::mojom::RemotingSinkAudioCapability, MaybeConstUserType>;
}
namespace internal {
Serializer< ::media::mojom::RemotingSinkVideoCapability, MaybeConstUserType>;
}
namespace internal {
Serializer< ::media::mojom::RemotingSinkMetadataDataView, MaybeConstUserType>;
}
}
namespace media::mojom {
inline void RemotingSinkMetadataDataView::GetFeaturesDataView(
mojo::ArrayDataView<RemotingSinkFeature>* output) { … }
inline void RemotingSinkMetadataDataView::GetAudioCapabilitiesDataView(
mojo::ArrayDataView<RemotingSinkAudioCapability>* output) { … }
inline void RemotingSinkMetadataDataView::GetVideoCapabilitiesDataView(
mojo::ArrayDataView<RemotingSinkVideoCapability>* output) { … }
inline void RemotingSinkMetadataDataView::GetFriendlyNameDataView(
mojo::StringDataView* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::media::mojom::RemotingStopReason> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::media::mojom::RemotingStartFailReason> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::media::mojom::RemotingSinkFeature> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::media::mojom::RemotingSinkAudioCapability> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::media::mojom::RemotingSinkVideoCapability> { … };
}
#endif