#ifndef SERVICES_CERT_VERIFIER_PUBLIC_MOJOM_CERT_VERIFIER_SERVICE_FACTORY_MOJOM_H_
#define SERVICES_CERT_VERIFIER_PUBLIC_MOJOM_CERT_VERIFIER_SERVICE_FACTORY_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 "services/cert_verifier/public/mojom/cert_verifier_service_factory.mojom-features.h"
#include "services/cert_verifier/public/mojom/cert_verifier_service_factory.mojom-shared.h"
#include "services/cert_verifier/public/mojom/cert_verifier_service_factory.mojom-forward.h"
#include "mojo/public/mojom/base/big_buffer.mojom.h"
#include "mojo/public/mojom/base/file_path.mojom-forward.h"
#include "mojo/public/mojom/base/proto_wrapper.mojom.h"
#include "mojo/public/mojom/base/read_only_buffer.mojom-forward.h"
#include "mojo/public/mojom/base/time.mojom.h"
#include "services/network/public/mojom/cert_verifier_service.mojom-forward.h"
#include "services/network/public/mojom/cert_verifier_service_updater.mojom.h"
#include "services/network/public/mojom/network_param.mojom-forward.h"
#include "services/network/public/mojom/ct_log_info.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 cert_verifier::mojom {
class CertVerifierServiceFactoryProxy;
template <typename ImplRefTraits>
class CertVerifierServiceFactoryStub;
class CertVerifierServiceFactoryRequestValidator;
class CertVerifierServiceFactoryResponseValidator;
class CertVerifierServiceFactory
: public CertVerifierServiceFactoryInterfaceBase { … };
class CertVerifierServiceFactoryProxy
: public CertVerifierServiceFactory { … };
class CertVerifierServiceFactoryStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<CertVerifierServiceFactory>>
class CertVerifierServiceFactoryStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
CertVerifierServiceFactoryStub() = default;
~CertVerifierServiceFactoryStub() 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 CertVerifierServiceFactoryRequestValidator : public mojo::MessageReceiver { … };
class CertVerifierServiceFactoryResponseValidator : public mojo::MessageReceiver { … };
class CertVerifierCreationParams { … };
template <typename T, CertVerifierCreationParams::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, CertVerifierCreationParams::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, CertVerifierCreationParams::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, CertVerifierCreationParams::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class ChromeRootCertInfo { … };
template <typename T, ChromeRootCertInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, ChromeRootCertInfo::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, ChromeRootCertInfo::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, ChromeRootCertInfo::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class ChromeRootStoreInfo { … };
template <typename T, ChromeRootStoreInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, ChromeRootStoreInfo::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, ChromeRootStoreInfo::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, ChromeRootStoreInfo::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class PlatformCertInfo { … };
template <typename T, PlatformCertInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, PlatformCertInfo::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, PlatformCertInfo::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, PlatformCertInfo::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class PlatformRootStoreInfo { … };
template <typename T, PlatformRootStoreInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, PlatformRootStoreInfo::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, PlatformRootStoreInfo::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, PlatformRootStoreInfo::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
CertVerifierCreationParamsPtr CertVerifierCreationParams::Clone() const { … }
template <typename T, CertVerifierCreationParams::EnableIfSame<T>*>
bool CertVerifierCreationParams::Equals(const T& other_struct) const { … }
template <typename T, CertVerifierCreationParams::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
ChromeRootCertInfoPtr ChromeRootCertInfo::Clone() const { … }
template <typename T, ChromeRootCertInfo::EnableIfSame<T>*>
bool ChromeRootCertInfo::Equals(const T& other_struct) const { … }
template <typename T, ChromeRootCertInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
ChromeRootStoreInfoPtr ChromeRootStoreInfo::Clone() const { … }
template <typename T, ChromeRootStoreInfo::EnableIfSame<T>*>
bool ChromeRootStoreInfo::Equals(const T& other_struct) const { … }
template <typename T, ChromeRootStoreInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
PlatformCertInfoPtr PlatformCertInfo::Clone() const { … }
template <typename T, PlatformCertInfo::EnableIfSame<T>*>
bool PlatformCertInfo::Equals(const T& other_struct) const { … }
template <typename T, PlatformCertInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
PlatformRootStoreInfoPtr PlatformRootStoreInfo::Clone() const { … }
template <typename T, PlatformRootStoreInfo::EnableIfSame<T>*>
bool PlatformRootStoreInfo::Equals(const T& other_struct) const { … }
template <typename T, PlatformRootStoreInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct StructTraits<::cert_verifier::mojom::CertVerifierCreationParams::DataView,
::cert_verifier::mojom::CertVerifierCreationParamsPtr> { … };
template <>
struct StructTraits<::cert_verifier::mojom::ChromeRootCertInfo::DataView,
::cert_verifier::mojom::ChromeRootCertInfoPtr> { … };
template <>
struct StructTraits<::cert_verifier::mojom::ChromeRootStoreInfo::DataView,
::cert_verifier::mojom::ChromeRootStoreInfoPtr> { … };
template <>
struct StructTraits<::cert_verifier::mojom::PlatformCertInfo::DataView,
::cert_verifier::mojom::PlatformCertInfoPtr> { … };
template <>
struct StructTraits<::cert_verifier::mojom::PlatformRootStoreInfo::DataView,
::cert_verifier::mojom::PlatformRootStoreInfoPtr> { … };
}
#endif