#ifndef CONTENT_BROWSER_PROCESS_INTERNALS_PROCESS_INTERNALS_MOJOM_H_
#define CONTENT_BROWSER_PROCESS_INTERNALS_PROCESS_INTERNALS_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 "content/browser/process_internals/process_internals.mojom-features.h"
#include "content/browser/process_internals/process_internals.mojom-shared.h"
#include "content/browser/process_internals/process_internals.mojom-forward.h"
#include "url/mojom/url.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"
namespace mojom {
class ProcessInternalsHandlerProxy;
template <typename ImplRefTraits>
class ProcessInternalsHandlerStub;
class ProcessInternalsHandlerRequestValidator;
class ProcessInternalsHandlerResponseValidator;
class ProcessInternalsHandler
: public ProcessInternalsHandlerInterfaceBase { … };
class ProcessInternalsHandlerProxy
: public ProcessInternalsHandler { … };
class ProcessInternalsHandlerStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<ProcessInternalsHandler>>
class ProcessInternalsHandlerStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
ProcessInternalsHandlerStub() = default;
~ProcessInternalsHandlerStub() 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 ProcessInternalsHandlerRequestValidator : public mojo::MessageReceiver { … };
class ProcessInternalsHandlerResponseValidator : public mojo::MessageReceiver { … };
class ProcessCountInfo { … };
template <typename T, ProcessCountInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, ProcessCountInfo::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, ProcessCountInfo::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, ProcessCountInfo::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class IsolatedOriginInfo { … };
template <typename T, IsolatedOriginInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, IsolatedOriginInfo::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, IsolatedOriginInfo::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, IsolatedOriginInfo::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class SiteInstanceInfo { … };
template <typename T, SiteInstanceInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, SiteInstanceInfo::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, SiteInstanceInfo::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, SiteInstanceInfo::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class FrameInfo { … };
template <typename T, FrameInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, FrameInfo::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, FrameInfo::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, FrameInfo::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class WebContentsInfo { … };
template <typename T, WebContentsInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, WebContentsInfo::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, WebContentsInfo::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, WebContentsInfo::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
ProcessCountInfoPtr ProcessCountInfo::Clone() const { … }
template <typename T, ProcessCountInfo::EnableIfSame<T>*>
bool ProcessCountInfo::Equals(const T& other_struct) const { … }
template <typename T, ProcessCountInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
SiteInstanceInfoPtr SiteInstanceInfo::Clone() const { … }
template <typename T, SiteInstanceInfo::EnableIfSame<T>*>
bool SiteInstanceInfo::Equals(const T& other_struct) const { … }
template <typename T, SiteInstanceInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
FrameInfoPtr FrameInfo::Clone() const { … }
template <typename T, FrameInfo::EnableIfSame<T>*>
bool FrameInfo::Equals(const T& other_struct) const { … }
template <typename T, FrameInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
WebContentsInfoPtr WebContentsInfo::Clone() const { … }
template <typename T, WebContentsInfo::EnableIfSame<T>*>
bool WebContentsInfo::Equals(const T& other_struct) const { … }
template <typename T, WebContentsInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
IsolatedOriginInfoPtr IsolatedOriginInfo::Clone() const { … }
template <typename T, IsolatedOriginInfo::EnableIfSame<T>*>
bool IsolatedOriginInfo::Equals(const T& other_struct) const { … }
template <typename T, IsolatedOriginInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct StructTraits<::mojom::ProcessCountInfo::DataView,
::mojom::ProcessCountInfoPtr> { … };
template <>
struct StructTraits<::mojom::SiteInstanceInfo::DataView,
::mojom::SiteInstanceInfoPtr> { … };
template <>
struct StructTraits<::mojom::FrameInfo::DataView,
::mojom::FrameInfoPtr> { … };
template <>
struct StructTraits<::mojom::WebContentsInfo::DataView,
::mojom::WebContentsInfoPtr> { … };
template <>
struct StructTraits<::mojom::IsolatedOriginInfo::DataView,
::mojom::IsolatedOriginInfoPtr> { … };
}
#endif