chromium/out/Default/gen/gpu/ipc/common/gpu_disk_cache_type.mojom.h

// gpu/ipc/common/gpu_disk_cache_type.mojom.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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"  // IWYU pragma: export
#include "gpu/ipc/common/gpu_disk_cache_type.mojom-shared.h"  // IWYU pragma: export
#include "gpu/ipc/common/gpu_disk_cache_type.mojom-forward.h"  // IWYU pragma: export
#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 {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
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 {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
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 {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
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) {}


}  // gpu::mojom

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> {};

}  // namespace mojo

#endif  // GPU_IPC_COMMON_GPU_DISK_CACHE_TYPE_MOJOM_H_