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

// media/mojo/mojom/output_protection.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_OUTPUT_PROTECTION_MOJOM_SHARED_H_
#define MEDIA_MOJO_MOJOM_OUTPUT_PROTECTION_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/output_protection.mojom-shared-internal.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace media::mojom {


}  // media::mojom

namespace mojo {
namespace internal {

}  // namespace internal
}  // namespace mojo


namespace media::mojom {


enum class OutputProtection_ProtectionType : int32_t {};

 std::ostream& operator<<(std::ostream& os, OutputProtection_ProtectionType value);
inline bool IsKnownEnumValue(OutputProtection_ProtectionType value) {}
inline OutputProtection_ProtectionType ToKnownEnumValue(OutputProtection_ProtectionType value) {}


enum class OutputProtection_LinkType : int32_t {};

 std::ostream& operator<<(std::ostream& os, OutputProtection_LinkType value);
inline bool IsKnownEnumValue(OutputProtection_LinkType value) {}
inline OutputProtection_LinkType ToKnownEnumValue(OutputProtection_LinkType value) {}
// Interface base classes. They are used for type safety check.
class OutputProtectionInterfaceBase {};

OutputProtectionPtrDataView;
OutputProtectionRequestDataView;
OutputProtectionAssociatedPtrInfoDataView;
OutputProtectionAssociatedRequestDataView;


}  // media::mojom

namespace std {

template <>
struct hash<::media::mojom::OutputProtection_ProtectionType>
    : public mojo::internal::EnumHashImpl<::media::mojom::OutputProtection_ProtectionType> {};

template <>
struct hash<::media::mojom::OutputProtection_LinkType>
    : public mojo::internal::EnumHashImpl<::media::mojom::OutputProtection_LinkType> {};

}  // namespace std

namespace mojo {


namespace internal {

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

}  // namespace internal


namespace internal {

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

}  // namespace internal

}  // namespace mojo


namespace media::mojom {


}  // media::mojom

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

namespace perfetto {

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

} // namespace perfetto

namespace perfetto {

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

} // namespace perfetto

#endif  // MEDIA_MOJO_MOJOM_OUTPUT_PROTECTION_MOJOM_SHARED_H_