#ifndef GPU_IPC_COMMON_MEMORY_STATS_MOJOM_BLINK_H_
#define GPU_IPC_COMMON_MEMORY_STATS_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/memory_stats.mojom-features.h"
#include "gpu/ipc/common/memory_stats.mojom-shared.h"
#include "gpu/ipc/common/memory_stats.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 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 BLINK_PLATFORM_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 BLINK_PLATFORM_EXPORT StructTraits<::gpu::mojom::blink::VideoMemoryProcessStats::DataView,
::gpu::mojom::blink::VideoMemoryProcessStatsPtr> { … };
template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::gpu::mojom::blink::VideoMemoryUsageStats::DataView,
::gpu::mojom::blink::VideoMemoryUsageStatsPtr> { … };
}
#endif