#ifndef UI_WEBUI_RESOURCES_CR_COMPONENTS_CERTIFICATE_MANAGER_CERTIFICATE_MANAGER_V2_MOJOM_H_
#define UI_WEBUI_RESOURCES_CR_COMPONENTS_CERTIFICATE_MANAGER_CERTIFICATE_MANAGER_V2_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 "ui/webui/resources/cr_components/certificate_manager/certificate_manager_v2.mojom-features.h"
#include "ui/webui/resources/cr_components/certificate_manager/certificate_manager_v2.mojom-shared.h"
#include "ui/webui/resources/cr_components/certificate_manager/certificate_manager_v2.mojom-forward.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 certificate_manager_v2::mojom {
class CertificateManagerPageHandlerFactoryProxy;
template <typename ImplRefTraits>
class CertificateManagerPageHandlerFactoryStub;
class CertificateManagerPageHandlerFactoryRequestValidator;
class CertificateManagerPageHandlerFactory
: public CertificateManagerPageHandlerFactoryInterfaceBase { … };
class CertificateManagerPageHandlerProxy;
template <typename ImplRefTraits>
class CertificateManagerPageHandlerStub;
class CertificateManagerPageHandlerRequestValidator;
class CertificateManagerPageHandlerResponseValidator;
class CertificateManagerPageHandler
: public CertificateManagerPageHandlerInterfaceBase { … };
class CertificateManagerPageProxy;
template <typename ImplRefTraits>
class CertificateManagerPageStub;
class CertificateManagerPageRequestValidator;
class CertificateManagerPageResponseValidator;
class CertificateManagerPage
: public CertificateManagerPageInterfaceBase { … };
class CertificateManagerPageHandlerFactoryProxy
: public CertificateManagerPageHandlerFactory { … };
class CertificateManagerPageHandlerProxy
: public CertificateManagerPageHandler { … };
class CertificateManagerPageProxy
: public CertificateManagerPage { … };
class CertificateManagerPageHandlerFactoryStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<CertificateManagerPageHandlerFactory>>
class CertificateManagerPageHandlerFactoryStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
CertificateManagerPageHandlerFactoryStub() = default;
~CertificateManagerPageHandlerFactoryStub() 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 CertificateManagerPageHandlerStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<CertificateManagerPageHandler>>
class CertificateManagerPageHandlerStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
CertificateManagerPageHandlerStub() = default;
~CertificateManagerPageHandlerStub() 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 CertificateManagerPageStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<CertificateManagerPage>>
class CertificateManagerPageStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
CertificateManagerPageStub() = default;
~CertificateManagerPageStub() 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 CertificateManagerPageHandlerFactoryRequestValidator : public mojo::MessageReceiver { … };
class CertificateManagerPageHandlerRequestValidator : public mojo::MessageReceiver { … };
class CertificateManagerPageRequestValidator : public mojo::MessageReceiver { … };
class CertificateManagerPageHandlerResponseValidator : public mojo::MessageReceiver { … };
class CertificateManagerPageResponseValidator : public mojo::MessageReceiver { … };
class SummaryCertInfo { … };
template <typename T, SummaryCertInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, SummaryCertInfo::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, SummaryCertInfo::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, SummaryCertInfo::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class CertManagementMetadata { … };
template <typename T, CertManagementMetadata::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, CertManagementMetadata::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, CertManagementMetadata::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, CertManagementMetadata::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class ImportResult { … };
template <typename UnionPtrType>
ImportResultPtr ImportResult::Clone() const { … }
template <typename T,
typename std::enable_if<std::is_same<
T, ImportResult>::value>::type*>
bool ImportResult::Equals(const T& other) const { … }
template <typename StructPtrType>
SummaryCertInfoPtr SummaryCertInfo::Clone() const { … }
template <typename T, SummaryCertInfo::EnableIfSame<T>*>
bool SummaryCertInfo::Equals(const T& other_struct) const { … }
template <typename T, SummaryCertInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
CertManagementMetadataPtr CertManagementMetadata::Clone() const { … }
template <typename T, CertManagementMetadata::EnableIfSame<T>*>
bool CertManagementMetadata::Equals(const T& other_struct) const { … }
template <typename T, CertManagementMetadata::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct StructTraits<::certificate_manager_v2::mojom::SummaryCertInfo::DataView,
::certificate_manager_v2::mojom::SummaryCertInfoPtr> { … };
template <>
struct StructTraits<::certificate_manager_v2::mojom::CertManagementMetadata::DataView,
::certificate_manager_v2::mojom::CertManagementMetadataPtr> { … };
template <>
struct UnionTraits<::certificate_manager_v2::mojom::ImportResult::DataView,
::certificate_manager_v2::mojom::ImportResultPtr> { … };
}
#endif