chromium/out/Default/gen/media/mojo/mojom/remoting_common.mojom-shared.h

// media/mojo/mojom/remoting_common.mojom-shared.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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;



}  // media::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::media::mojom::RemotingSinkMetadataDataView> {};

}  // namespace internal
}  // namespace mojo


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 {};


}  // media::mojom

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 std

namespace mojo {


namespace internal {

Serializer< ::media::mojom::RemotingStopReason, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::media::mojom::RemotingStartFailReason, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::media::mojom::RemotingSinkFeature, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::media::mojom::RemotingSinkAudioCapability, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::media::mojom::RemotingSinkVideoCapability, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::media::mojom::RemotingSinkMetadataDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


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) {}



}  // media::mojom

// Declare TraceFormatTraits for enums, which should be defined in ::perfetto
// namespace.

namespace perfetto {

template <>
struct  TraceFormatTraits<::media::mojom::RemotingStopReason> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::media::mojom::RemotingStartFailReason> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::media::mojom::RemotingSinkFeature> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::media::mojom::RemotingSinkAudioCapability> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::media::mojom::RemotingSinkVideoCapability> {};

} // namespace perfetto

#endif  // MEDIA_MOJO_MOJOM_REMOTING_COMMON_MOJOM_SHARED_H_