#ifndef COMPONENTS_MEDIA_ROUTER_COMMON_MOJOM_MEDIA_STATUS_MOJOM_SHARED_H_
#define COMPONENTS_MEDIA_ROUTER_COMMON_MOJOM_MEDIA_STATUS_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 "components/media_router/common/mojom/media_status.mojom-shared-internal.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-shared.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"
namespace media_router::mojom {
class MediaImageDataView;
class MediaStatusDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::media_router::mojom::MediaImageDataView> { … };
template <>
struct MojomTypeTraits<::media_router::mojom::MediaStatusDataView> { … };
}
}
namespace media_router::mojom {
enum class MediaStatus_PlayState : int32_t { … };
std::ostream& operator<<(std::ostream& os, MediaStatus_PlayState value);
inline bool IsKnownEnumValue(MediaStatus_PlayState value) { … }
class MediaStatusObserverInterfaceBase { … };
MediaStatusObserverPtrDataView;
MediaStatusObserverRequestDataView;
MediaStatusObserverAssociatedPtrInfoDataView;
MediaStatusObserverAssociatedRequestDataView;
class MediaImageDataView { … };
class MediaStatusDataView { … };
}
namespace std {
template <>
struct hash<::media_router::mojom::MediaStatus_PlayState>
: public mojo::internal::EnumHashImpl<::media_router::mojom::MediaStatus_PlayState> { … };
}
namespace mojo {
namespace internal {
Serializer< ::media_router::mojom::MediaStatus_PlayState, MaybeConstUserType>;
}
namespace internal {
Serializer< ::media_router::mojom::MediaImageDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::media_router::mojom::MediaStatusDataView, MaybeConstUserType>;
}
}
namespace media_router::mojom {
inline void MediaImageDataView::GetUrlDataView(
::url::mojom::UrlDataView* output) { … }
inline void MediaImageDataView::GetSizeDataView(
::gfx::mojom::SizeDataView* output) { … }
inline void MediaStatusDataView::GetTitleDataView(
mojo::StringDataView* output) { … }
inline void MediaStatusDataView::GetSecondaryTitleDataView(
mojo::StringDataView* output) { … }
inline void MediaStatusDataView::GetDurationDataView(
::mojo_base::mojom::TimeDeltaDataView* output) { … }
inline void MediaStatusDataView::GetCurrentTimeDataView(
::mojo_base::mojom::TimeDeltaDataView* output) { … }
inline void MediaStatusDataView::GetImagesDataView(
mojo::ArrayDataView<MediaImageDataView>* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::media_router::mojom::MediaStatus_PlayState> { … };
}
#endif