#ifndef CHROME_BROWSER_UI_WEBUI_CONNECTORS_INTERNALS_CONNECTORS_INTERNALS_MOJOM_H_
#define CHROME_BROWSER_UI_WEBUI_CONNECTORS_INTERNALS_CONNECTORS_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 "chrome/browser/ui/webui/connectors_internals/connectors_internals.mojom-features.h"
#include "chrome/browser/ui/webui/connectors_internals/connectors_internals.mojom-shared.h"
#include "chrome/browser/ui/webui/connectors_internals/connectors_internals.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 connectors_internals::mojom {
class PageHandlerProxy;
template <typename ImplRefTraits>
class PageHandlerStub;
class PageHandlerRequestValidator;
class PageHandlerResponseValidator;
class PageHandler
: public PageHandlerInterfaceBase { … };
class PageHandlerProxy
: public PageHandler { … };
class PageHandlerStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<PageHandler>>
class PageHandlerStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
PageHandlerStub() = default;
~PageHandlerStub() 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 PageHandlerRequestValidator : public mojo::MessageReceiver { … };
class PageHandlerResponseValidator : public mojo::MessageReceiver { … };
class Int32Value { … };
template <typename T, Int32Value::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, Int32Value::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, Int32Value::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, Int32Value::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class ConsentMetadata { … };
template <typename T, ConsentMetadata::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, ConsentMetadata::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, ConsentMetadata::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, ConsentMetadata::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class KeyUploadStatus { … };
class LoadedKeyInfo { … };
template <typename T, LoadedKeyInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, LoadedKeyInfo::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, LoadedKeyInfo::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, LoadedKeyInfo::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class KeyInfo { … };
template <typename T, KeyInfo::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, KeyInfo::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, KeyInfo::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, KeyInfo::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class DeviceTrustState { … };
template <typename T, DeviceTrustState::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, DeviceTrustState::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, DeviceTrustState::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, DeviceTrustState::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class CertificateMetadata { … };
template <typename T, CertificateMetadata::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, CertificateMetadata::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, CertificateMetadata::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, CertificateMetadata::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class ClientIdentity { … };
template <typename T, ClientIdentity::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, ClientIdentity::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, ClientIdentity::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, ClientIdentity::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class ClientCertificateState { … };
template <typename T, ClientCertificateState::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, ClientCertificateState::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, ClientCertificateState::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, ClientCertificateState::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename UnionPtrType>
KeyUploadStatusPtr KeyUploadStatus::Clone() const { … }
template <typename T,
typename std::enable_if<std::is_same<
T, KeyUploadStatus>::value>::type*>
bool KeyUploadStatus::Equals(const T& other) const { … }
template <typename StructPtrType>
Int32ValuePtr Int32Value::Clone() const { … }
template <typename T, Int32Value::EnableIfSame<T>*>
bool Int32Value::Equals(const T& other_struct) const { … }
template <typename T, Int32Value::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
LoadedKeyInfoPtr LoadedKeyInfo::Clone() const { … }
template <typename T, LoadedKeyInfo::EnableIfSame<T>*>
bool LoadedKeyInfo::Equals(const T& other_struct) const { … }
template <typename T, LoadedKeyInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
KeyInfoPtr KeyInfo::Clone() const { … }
template <typename T, KeyInfo::EnableIfSame<T>*>
bool KeyInfo::Equals(const T& other_struct) const { … }
template <typename T, KeyInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
ConsentMetadataPtr ConsentMetadata::Clone() const { … }
template <typename T, ConsentMetadata::EnableIfSame<T>*>
bool ConsentMetadata::Equals(const T& other_struct) const { … }
template <typename T, ConsentMetadata::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
DeviceTrustStatePtr DeviceTrustState::Clone() const { … }
template <typename T, DeviceTrustState::EnableIfSame<T>*>
bool DeviceTrustState::Equals(const T& other_struct) const { … }
template <typename T, DeviceTrustState::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
CertificateMetadataPtr CertificateMetadata::Clone() const { … }
template <typename T, CertificateMetadata::EnableIfSame<T>*>
bool CertificateMetadata::Equals(const T& other_struct) const { … }
template <typename T, CertificateMetadata::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
ClientIdentityPtr ClientIdentity::Clone() const { … }
template <typename T, ClientIdentity::EnableIfSame<T>*>
bool ClientIdentity::Equals(const T& other_struct) const { … }
template <typename T, ClientIdentity::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
ClientCertificateStatePtr ClientCertificateState::Clone() const { … }
template <typename T, ClientCertificateState::EnableIfSame<T>*>
bool ClientCertificateState::Equals(const T& other_struct) const { … }
template <typename T, ClientCertificateState::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct StructTraits<::connectors_internals::mojom::Int32Value::DataView,
::connectors_internals::mojom::Int32ValuePtr> { … };
template <>
struct StructTraits<::connectors_internals::mojom::LoadedKeyInfo::DataView,
::connectors_internals::mojom::LoadedKeyInfoPtr> { … };
template <>
struct StructTraits<::connectors_internals::mojom::KeyInfo::DataView,
::connectors_internals::mojom::KeyInfoPtr> { … };
template <>
struct StructTraits<::connectors_internals::mojom::ConsentMetadata::DataView,
::connectors_internals::mojom::ConsentMetadataPtr> { … };
template <>
struct StructTraits<::connectors_internals::mojom::DeviceTrustState::DataView,
::connectors_internals::mojom::DeviceTrustStatePtr> { … };
template <>
struct StructTraits<::connectors_internals::mojom::CertificateMetadata::DataView,
::connectors_internals::mojom::CertificateMetadataPtr> { … };
template <>
struct StructTraits<::connectors_internals::mojom::ClientIdentity::DataView,
::connectors_internals::mojom::ClientIdentityPtr> { … };
template <>
struct StructTraits<::connectors_internals::mojom::ClientCertificateState::DataView,
::connectors_internals::mojom::ClientCertificateStatePtr> { … };
template <>
struct UnionTraits<::connectors_internals::mojom::KeyUploadStatus::DataView,
::connectors_internals::mojom::KeyUploadStatusPtr> { … };
}
#endif