#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_PRESENTATION_PRESENTATION_MOJOM_SHARED_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_PRESENTATION_PRESENTATION_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 "third_party/blink/public/mojom/presentation/presentation.mojom-shared-internal.h"
#include "url/mojom/url.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "base/component_export.h"
namespace blink::mojom {
class PresentationInfoDataView;
class PresentationErrorDataView;
class PresentationConnectionResultDataView;
class PresentationConnectionMessageDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::blink::mojom::PresentationInfoDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::PresentationErrorDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::PresentationConnectionResultDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::PresentationConnectionMessageDataView> { … };
}
}
namespace blinkmojom
namespace std {
template <>
struct hash<::blink::mojom::ScreenAvailability>
: public mojo::internal::EnumHashImpl<::blink::mojom::ScreenAvailability> { … };
template <>
struct hash<::blink::mojom::PresentationConnectionState>
: public mojo::internal::EnumHashImpl<::blink::mojom::PresentationConnectionState> { … };
template <>
struct hash<::blink::mojom::PresentationConnectionCloseReason>
: public mojo::internal::EnumHashImpl<::blink::mojom::PresentationConnectionCloseReason> { … };
template <>
struct hash<::blink::mojom::PresentationErrorType>
: public mojo::internal::EnumHashImpl<::blink::mojom::PresentationErrorType> { … };
}
namespace mojo {
namespace internal {
Serializer< ::blink::mojom::ScreenAvailability, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::PresentationConnectionState, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::PresentationConnectionCloseReason, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::PresentationErrorType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::PresentationInfoDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::PresentationErrorDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::PresentationConnectionResultDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::PresentationConnectionMessageDataView, MaybeConstUserType>;
}
}
namespace blink::mojom {
inline void PresentationInfoDataView::GetUrlDataView(
::url::mojom::UrlDataView* output) { … }
inline void PresentationInfoDataView::GetIdDataView(
mojo::StringDataView* output) { … }
inline void PresentationErrorDataView::GetMessageDataView(
mojo::StringDataView* output) { … }
inline void PresentationConnectionResultDataView::GetPresentationInfoDataView(
PresentationInfoDataView* output) { … }
inline void PresentationConnectionMessageDataView::GetMessageDataView(
mojo::StringDataView* output) const { … }
inline void PresentationConnectionMessageDataView::GetDataDataView(
mojo::ArrayDataView<uint8_t>* output) const { … }
}
namespace perfetto {
template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::mojom::ScreenAvailability> { … };
}
namespace perfetto {
template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::mojom::PresentationConnectionState> { … };
}
namespace perfetto {
template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::mojom::PresentationConnectionCloseReason> { … };
}
namespace perfetto {
template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::mojom::PresentationErrorType> { … };
}
#endif