chromium/out/Default/gen/third_party/blink/public/mojom/performance_manager/v8_detailed_memory_reporter.mojom.h

// third_party/blink/public/mojom/performance_manager/v8_detailed_memory_reporter.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 THIRD_PARTY_BLINK_PUBLIC_MOJOM_PERFORMANCE_MANAGER_V8_DETAILED_MEMORY_REPORTER_MOJOM_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_PERFORMANCE_MANAGER_V8_DETAILED_MEMORY_REPORTER_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 "third_party/blink/public/mojom/performance_manager/v8_detailed_memory_reporter.mojom-features.h"  // IWYU pragma: export
#include "third_party/blink/public/mojom/performance_manager/v8_detailed_memory_reporter.mojom-shared.h"  // IWYU pragma: export
#include "third_party/blink/public/mojom/performance_manager/v8_detailed_memory_reporter.mojom-forward.h"  // IWYU pragma: export
#include "third_party/blink/public/mojom/tokens/tokens.mojom.h"
#include <string>
#include <vector>

#include "mojo/public/cpp/bindings/lib/control_message_handler.h"
#include "mojo/public/cpp/bindings/lib/message_size_estimator.h"
#include "mojo/public/cpp/bindings/raw_ptr_impl_ref_traits.h"


#include "third_party/blink/public/common/common_export.h"




namespace blink::mojom {

class V8DetailedMemoryReporterProxy;

template <typename ImplRefTraits>
class V8DetailedMemoryReporterStub;

class V8DetailedMemoryReporterRequestValidator;
class V8DetailedMemoryReporterResponseValidator;


class BLINK_COMMON_EXPORT V8DetailedMemoryReporter
    : public V8DetailedMemoryReporterInterfaceBase {};



class BLINK_COMMON_EXPORT V8DetailedMemoryReporterProxy
    : public V8DetailedMemoryReporter {};
class BLINK_COMMON_EXPORT V8DetailedMemoryReporterStubDispatch {};

template <typename ImplRefTraits =
              mojo::RawPtrImplRefTraits<V8DetailedMemoryReporter>>
class V8DetailedMemoryReporterStub
    : public mojo::MessageReceiverWithResponderStatus {
 public:
  using ImplPointerType = typename ImplRefTraits::PointerType;

  V8DetailedMemoryReporterStub() = default;
  ~V8DetailedMemoryReporterStub() override = default;

  void set_sink(ImplPointerType sink) {}
  ImplPointerType& sink() {}

  bool Accept(mojo::Message* message) override {}

  bool AcceptWithResponder(
      mojo::Message* message,
      std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override {}

 private:
  ImplPointerType sink_;
};
class BLINK_COMMON_EXPORT V8DetailedMemoryReporterRequestValidator : public mojo::MessageReceiver {};
class BLINK_COMMON_EXPORT V8DetailedMemoryReporterResponseValidator : public mojo::MessageReceiver {};











class BLINK_COMMON_EXPORT PerContextV8MemoryUsage {};

// 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, PerContextV8MemoryUsage::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, PerContextV8MemoryUsage::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, PerContextV8MemoryUsage::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, PerContextV8MemoryUsage::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class BLINK_COMMON_EXPORT PerContextCanvasMemoryUsage {};

// 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, PerContextCanvasMemoryUsage::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, PerContextCanvasMemoryUsage::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, PerContextCanvasMemoryUsage::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, PerContextCanvasMemoryUsage::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class BLINK_COMMON_EXPORT PerIsolateV8MemoryUsage {};

// 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, PerIsolateV8MemoryUsage::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, PerIsolateV8MemoryUsage::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, PerIsolateV8MemoryUsage::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, PerIsolateV8MemoryUsage::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class BLINK_COMMON_EXPORT PerProcessV8MemoryUsage {};

// 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, PerProcessV8MemoryUsage::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, PerProcessV8MemoryUsage::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, PerProcessV8MemoryUsage::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, PerProcessV8MemoryUsage::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}

template <typename StructPtrType>
PerContextV8MemoryUsagePtr PerContextV8MemoryUsage::Clone() const {}

template <typename T, PerContextV8MemoryUsage::EnableIfSame<T>*>
bool PerContextV8MemoryUsage::Equals(const T& other_struct) const {}

template <typename T, PerContextV8MemoryUsage::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
PerContextCanvasMemoryUsagePtr PerContextCanvasMemoryUsage::Clone() const {}

template <typename T, PerContextCanvasMemoryUsage::EnableIfSame<T>*>
bool PerContextCanvasMemoryUsage::Equals(const T& other_struct) const {}

template <typename T, PerContextCanvasMemoryUsage::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
PerIsolateV8MemoryUsagePtr PerIsolateV8MemoryUsage::Clone() const {}

template <typename T, PerIsolateV8MemoryUsage::EnableIfSame<T>*>
bool PerIsolateV8MemoryUsage::Equals(const T& other_struct) const {}

template <typename T, PerIsolateV8MemoryUsage::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
PerProcessV8MemoryUsagePtr PerProcessV8MemoryUsage::Clone() const {}

template <typename T, PerProcessV8MemoryUsage::EnableIfSame<T>*>
bool PerProcessV8MemoryUsage::Equals(const T& other_struct) const {}

template <typename T, PerProcessV8MemoryUsage::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}


}  // blink::mojom

namespace mojo {


template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::PerContextV8MemoryUsage::DataView,
                                         ::blink::mojom::PerContextV8MemoryUsagePtr> {};


template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::PerContextCanvasMemoryUsage::DataView,
                                         ::blink::mojom::PerContextCanvasMemoryUsagePtr> {};


template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::PerIsolateV8MemoryUsage::DataView,
                                         ::blink::mojom::PerIsolateV8MemoryUsagePtr> {};


template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::PerProcessV8MemoryUsage::DataView,
                                         ::blink::mojom::PerProcessV8MemoryUsagePtr> {};

}  // namespace mojo

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_PERFORMANCE_MANAGER_V8_DETAILED_MEMORY_REPORTER_MOJOM_H_