#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "services/media_session/public/cpp/media_session_mojom_traits.h"
#include "mojo/public/cpp/base/string16_mojom_traits.h"
#include "mojo/public/cpp/base/time_mojom_traits.h"
#include "services/media_session/public/cpp/chapter_information.h"
#include "ui/gfx/geometry/mojom/geometry_mojom_traits.h"
#include "url/mojom/url_gurl_mojom_traits.h"
namespace mojo {
bool StructTraits<media_session::mojom::MediaImageDataView,
media_session::MediaImage>::
Read(media_session::mojom::MediaImageDataView data,
media_session::MediaImage* out) { … }
bool StructTraits<media_session::mojom::MediaMetadataDataView,
media_session::MediaMetadata>::
Read(media_session::mojom::MediaMetadataDataView data,
media_session::MediaMetadata* out) { … }
const base::span<const uint8_t>
StructTraits<media_session::mojom::MediaImageBitmapDataView,
SkBitmap>::pixel_data(const SkBitmap& r) { … }
media_session::mojom::MediaImageBitmapColorType
StructTraits<media_session::mojom::MediaImageBitmapDataView,
SkBitmap>::color_type(const SkBitmap& r) { … }
bool StructTraits<media_session::mojom::MediaImageBitmapDataView, SkBitmap>::
Read(media_session::mojom::MediaImageBitmapDataView data, SkBitmap* out) { … }
void StructTraits<media_session::mojom::MediaImageBitmapDataView,
SkBitmap>::SetToNull(SkBitmap* out) { … }
bool StructTraits<media_session::mojom::MediaPositionDataView,
media_session::MediaPosition>::
Read(media_session::mojom::MediaPositionDataView data,
media_session::MediaPosition* out) { … }
bool StructTraits<media_session::mojom::ChapterInformationDataView,
media_session::ChapterInformation>::
Read(media_session::mojom::ChapterInformationDataView data,
media_session::ChapterInformation* out) { … }
}