#ifndef GPU_IPC_COMMON_MEMORY_STATS_MOJOM_H_
#define GPU_IPC_COMMON_MEMORY_STATS_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/memory_stats.mojom-features.h"
#include "gpu/ipc/common/memory_stats.mojom-shared.h"
#include "gpu/ipc/common/memory_stats.mojom-forward.h"
#include <string>
#include <vector>
#include "gpu/ipc/common/memory_stats_mojom_traits.h"
#include "gpu/gpu_export.h"
namespace gpu::mojom {
class GPU_EXPORT VideoMemoryProcessStats { … };
template <typename T, VideoMemoryProcessStats::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, VideoMemoryProcessStats::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, VideoMemoryProcessStats::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, VideoMemoryProcessStats::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class GPU_EXPORT VideoMemoryUsageStats { … };
template <typename T, VideoMemoryUsageStats::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, VideoMemoryUsageStats::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, VideoMemoryUsageStats::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, VideoMemoryUsageStats::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
VideoMemoryProcessStatsPtr VideoMemoryProcessStats::Clone() const { … }
template <typename T, VideoMemoryProcessStats::EnableIfSame<T>*>
bool VideoMemoryProcessStats::Equals(const T& other_struct) const { … }
template <typename T, VideoMemoryProcessStats::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
VideoMemoryUsageStatsPtr VideoMemoryUsageStats::Clone() const { … }
template <typename T, VideoMemoryUsageStats::EnableIfSame<T>*>
bool VideoMemoryUsageStats::Equals(const T& other_struct) const { … }
template <typename T, VideoMemoryUsageStats::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct GPU_EXPORT StructTraits<::gpu::mojom::VideoMemoryProcessStats::DataView,
::gpu::mojom::VideoMemoryProcessStatsPtr> { … };
template <>
struct GPU_EXPORT StructTraits<::gpu::mojom::VideoMemoryUsageStats::DataView,
::gpu::mojom::VideoMemoryUsageStatsPtr> { … };
}
#endif