#ifndef GPU_IPC_COMMON_SHARED_IMAGE_METADATA_MOJOM_H_
#define GPU_IPC_COMMON_SHARED_IMAGE_METADATA_MOJOM_H_
#include <stdint.h>
#include <limits>
#include <optional>
#include <type_traits>
#include <utility>
#include "base/types/cxx23_to_underlying.h"
#include "mojo/public/cpp/bindings/clone_traits.h"
#include "mojo/public/cpp/bindings/equals_traits.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
#include "gpu/ipc/common/shared_image_metadata.mojom-features.h"
#include "gpu/ipc/common/shared_image_metadata.mojom-shared.h"
#include "gpu/ipc/common/shared_image_metadata.mojom-forward.h"
#include "services/viz/public/mojom/compositing/shared_image_format.mojom.h"
#include "ui/gfx/geometry/mojom/geometry.mojom.h"
#include "ui/gfx/mojom/color_space.mojom.h"
#include "skia/public/mojom/surface_origin.mojom.h"
#include "skia/public/mojom/image_info.mojom.h"
#include <string>
#include <vector>
#include "gpu/ipc/common/shared_image_metadata_mojom_traits.h"
#include "gpu/gpu_export.h"
namespace gpu::mojom {
class GPU_EXPORT SharedImageMetadata { … };
template <typename T, SharedImageMetadata::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, SharedImageMetadata::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, SharedImageMetadata::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, SharedImageMetadata::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
SharedImageMetadataPtr SharedImageMetadata::Clone() const { … }
template <typename T, SharedImageMetadata::EnableIfSame<T>*>
bool SharedImageMetadata::Equals(const T& other_struct) const { … }
template <typename T, SharedImageMetadata::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct GPU_EXPORT StructTraits<::gpu::mojom::SharedImageMetadata::DataView,
::gpu::mojom::SharedImageMetadataPtr> { … };
}
#endif