#ifndef SERVICES_NETWORK_PUBLIC_MOJOM_CERT_VERIFIER_SERVICE_UPDATER_MOJOM_BLINK_H_
#define SERVICES_NETWORK_PUBLIC_MOJOM_CERT_VERIFIER_SERVICE_UPDATER_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 "services/network/public/mojom/cert_verifier_service_updater.mojom-features.h"
#include "services/network/public/mojom/cert_verifier_service_updater.mojom-shared.h"
#include "services/network/public/mojom/cert_verifier_service_updater.mojom-blink-forward.h"
#include "services/network/public/mojom/ip_address.mojom-blink.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 "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/platform/web_common.h"
namespace cert_verifier::mojom::blink {
class CertVerifierServiceUpdaterProxy;
template <typename ImplRefTraits>
class CertVerifierServiceUpdaterStub;
class CertVerifierServiceUpdaterRequestValidator;
class BLINK_PLATFORM_EXPORT CertVerifierServiceUpdater
: public CertVerifierServiceUpdaterInterfaceBase { … };
class BLINK_PLATFORM_EXPORT CertVerifierServiceUpdaterProxy
: public CertVerifierServiceUpdater { … };
class BLINK_PLATFORM_EXPORT CertVerifierServiceUpdaterStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<CertVerifierServiceUpdater>>
class CertVerifierServiceUpdaterStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
CertVerifierServiceUpdaterStub() = default;
~CertVerifierServiceUpdaterStub() 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_PLATFORM_EXPORT CertVerifierServiceUpdaterRequestValidator : public mojo::MessageReceiver { … };
class BLINK_PLATFORM_EXPORT CIDR { … };
template <typename T, CIDR::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, CIDR::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, CIDR::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, CIDR::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class BLINK_PLATFORM_EXPORT CertWithConstraints { … };
template <typename T, CertWithConstraints::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, CertWithConstraints::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, CertWithConstraints::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, CertWithConstraints::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class BLINK_PLATFORM_EXPORT AdditionalCertificates { … };
template <typename T, AdditionalCertificates::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, AdditionalCertificates::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, AdditionalCertificates::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, AdditionalCertificates::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
CIDRPtr CIDR::Clone() const { … }
template <typename T, CIDR::EnableIfSame<T>*>
bool CIDR::Equals(const T& other_struct) const { … }
template <typename T, CIDR::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
CertWithConstraintsPtr CertWithConstraints::Clone() const { … }
template <typename T, CertWithConstraints::EnableIfSame<T>*>
bool CertWithConstraints::Equals(const T& other_struct) const { … }
template <typename T, CertWithConstraints::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
AdditionalCertificatesPtr AdditionalCertificates::Clone() const { … }
template <typename T, AdditionalCertificates::EnableIfSame<T>*>
bool AdditionalCertificates::Equals(const T& other_struct) const { … }
template <typename T, AdditionalCertificates::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::cert_verifier::mojom::blink::CIDR::DataView,
::cert_verifier::mojom::blink::CIDRPtr> { … };
template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::cert_verifier::mojom::blink::CertWithConstraints::DataView,
::cert_verifier::mojom::blink::CertWithConstraintsPtr> { … };
template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::cert_verifier::mojom::blink::AdditionalCertificates::DataView,
::cert_verifier::mojom::blink::AdditionalCertificatesPtr> { … };
}
#endif