#ifndef GPU_IPC_COMMON_GPU_DISK_CACHE_TYPE_MOJOM_H_
#define GPU_IPC_COMMON_GPU_DISK_CACHE_TYPE_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/gpu_disk_cache_type.mojom-features.h"
#include "gpu/ipc/common/gpu_disk_cache_type.mojom-shared.h"
#include "gpu/ipc/common/gpu_disk_cache_type.mojom-forward.h"
#include <string>
#include <vector>
#include "gpu/ipc/common/gpu_disk_cache_type_mojom_traits.h"
#include "gpu/gpu_export.h"
namespace gpu::mojom {
class GPU_EXPORT GpuDiskCacheGlShaderHandle { … };
template <typename T, GpuDiskCacheGlShaderHandle::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, GpuDiskCacheGlShaderHandle::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, GpuDiskCacheGlShaderHandle::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, GpuDiskCacheGlShaderHandle::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class GPU_EXPORT GpuDiskCacheDawnWebGPUHandle { … };
template <typename T, GpuDiskCacheDawnWebGPUHandle::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, GpuDiskCacheDawnWebGPUHandle::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, GpuDiskCacheDawnWebGPUHandle::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, GpuDiskCacheDawnWebGPUHandle::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class GPU_EXPORT GpuDiskCacheDawnGraphiteHandle { … };
template <typename T, GpuDiskCacheDawnGraphiteHandle::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, GpuDiskCacheDawnGraphiteHandle::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, GpuDiskCacheDawnGraphiteHandle::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, GpuDiskCacheDawnGraphiteHandle::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class GPU_EXPORT GpuDiskCacheHandle { … };
template <typename UnionPtrType>
GpuDiskCacheHandlePtr GpuDiskCacheHandle::Clone() const { … }
template <typename T,
typename std::enable_if<std::is_same<
T, GpuDiskCacheHandle>::value>::type*>
bool GpuDiskCacheHandle::Equals(const T& other) const { … }
template <typename StructPtrType>
GpuDiskCacheGlShaderHandlePtr GpuDiskCacheGlShaderHandle::Clone() const { … }
template <typename T, GpuDiskCacheGlShaderHandle::EnableIfSame<T>*>
bool GpuDiskCacheGlShaderHandle::Equals(const T& other_struct) const { … }
template <typename T, GpuDiskCacheGlShaderHandle::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
GpuDiskCacheDawnWebGPUHandlePtr GpuDiskCacheDawnWebGPUHandle::Clone() const { … }
template <typename T, GpuDiskCacheDawnWebGPUHandle::EnableIfSame<T>*>
bool GpuDiskCacheDawnWebGPUHandle::Equals(const T& other_struct) const { … }
template <typename T, GpuDiskCacheDawnWebGPUHandle::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
GpuDiskCacheDawnGraphiteHandlePtr GpuDiskCacheDawnGraphiteHandle::Clone() const { … }
template <typename T, GpuDiskCacheDawnGraphiteHandle::EnableIfSame<T>*>
bool GpuDiskCacheDawnGraphiteHandle::Equals(const T& other_struct) const { … }
template <typename T, GpuDiskCacheDawnGraphiteHandle::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct GPU_EXPORT StructTraits<::gpu::mojom::GpuDiskCacheGlShaderHandle::DataView,
::gpu::mojom::GpuDiskCacheGlShaderHandlePtr> { … };
template <>
struct GPU_EXPORT StructTraits<::gpu::mojom::GpuDiskCacheDawnWebGPUHandle::DataView,
::gpu::mojom::GpuDiskCacheDawnWebGPUHandlePtr> { … };
template <>
struct GPU_EXPORT StructTraits<::gpu::mojom::GpuDiskCacheDawnGraphiteHandle::DataView,
::gpu::mojom::GpuDiskCacheDawnGraphiteHandlePtr> { … };
template <>
struct GPU_EXPORT UnionTraits<::gpu::mojom::GpuDiskCacheHandle::DataView,
::gpu::mojom::GpuDiskCacheHandlePtr> { … };
}
#endif