#ifndef GPU_IPC_COMMON_GPU_DISK_CACHE_TYPE_MOJOM_BLINK_H_
#define GPU_IPC_COMMON_GPU_DISK_CACHE_TYPE_MOJOM_BLINK_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-blink-forward.h"
#include "mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h"
#include "mojo/public/cpp/bindings/lib/wtf_hash_util.h"
#include "third_party/blink/renderer/platform/wtf/hash_functions.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#include "third_party/blink/public/platform/web_common.h"
namespace gpu::mojom::blink {
class BLINK_PLATFORM_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 BLINK_PLATFORM_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 BLINK_PLATFORM_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 BLINK_PLATFORM_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 BLINK_PLATFORM_EXPORT StructTraits<::gpu::mojom::blink::GpuDiskCacheGlShaderHandle::DataView,
::gpu::mojom::blink::GpuDiskCacheGlShaderHandlePtr> { … };
template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::gpu::mojom::blink::GpuDiskCacheDawnWebGPUHandle::DataView,
::gpu::mojom::blink::GpuDiskCacheDawnWebGPUHandlePtr> { … };
template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::gpu::mojom::blink::GpuDiskCacheDawnGraphiteHandle::DataView,
::gpu::mojom::blink::GpuDiskCacheDawnGraphiteHandlePtr> { … };
template <>
struct BLINK_PLATFORM_EXPORT UnionTraits<::gpu::mojom::blink::GpuDiskCacheHandle::DataView,
::gpu::mojom::blink::GpuDiskCacheHandlePtr> { … };
}
#endif