#ifndef COMPONENTS_DEVICE_SIGNALS_CORE_COMMON_MOJOM_SYSTEM_SIGNALS_MOJOM_H_
#define COMPONENTS_DEVICE_SIGNALS_CORE_COMMON_MOJOM_SYSTEM_SIGNALS_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 "components/device_signals/core/common/mojom/system_signals.mojom-features.h"
#include "components/device_signals/core/common/mojom/system_signals.mojom-shared.h"
#include "components/device_signals/core/common/mojom/system_signals.mojom-forward.h"
#include "sandbox/policy/mojom/context.mojom-forward.h"
#include "sandbox/policy/mojom/sandbox.mojom-forward.h"
#include "mojo/public/mojom/base/byte_string.mojom.h"
#include "mojo/public/mojom/base/file_path.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"
#include "components/device_signals/core/common/mojom/system_signals_mojom_traits_common.h"
namespace device_signals::mojom {
class SystemSignalsServiceProxy;
template <typename ImplRefTraits>
class SystemSignalsServiceStub;
class SystemSignalsServiceRequestValidator;
class SystemSignalsServiceResponseValidator;
class SystemSignalsService
: public SystemSignalsServiceInterfaceBase { … };
class SystemSignalsServiceProxy
: public SystemSignalsService { … };
class SystemSignalsServiceStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<SystemSignalsService>>
class SystemSignalsServiceStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
SystemSignalsServiceStub() = default;
~SystemSignalsServiceStub() 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 SystemSignalsServiceRequestValidator : public mojo::MessageReceiver { … };
class SystemSignalsServiceResponseValidator : public mojo::MessageReceiver { … };
class ExecutableMetadata { … };
template <typename T, ExecutableMetadata::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, ExecutableMetadata::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, ExecutableMetadata::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, ExecutableMetadata::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class FileSystemItem { … };
template <typename T, FileSystemItem::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, FileSystemItem::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, FileSystemItem::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, FileSystemItem::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class FileSystemItemRequest { … };
template <typename T, FileSystemItemRequest::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, FileSystemItemRequest::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, FileSystemItemRequest::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, FileSystemItemRequest::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
ExecutableMetadataPtr ExecutableMetadata::Clone() const { … }
template <typename T, ExecutableMetadata::EnableIfSame<T>*>
bool ExecutableMetadata::Equals(const T& other_struct) const { … }
template <typename T, ExecutableMetadata::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
FileSystemItemPtr FileSystemItem::Clone() const { … }
template <typename T, FileSystemItem::EnableIfSame<T>*>
bool FileSystemItem::Equals(const T& other_struct) const { … }
template <typename T, FileSystemItem::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
FileSystemItemRequestPtr FileSystemItemRequest::Clone() const { … }
template <typename T, FileSystemItemRequest::EnableIfSame<T>*>
bool FileSystemItemRequest::Equals(const T& other_struct) const { … }
template <typename T, FileSystemItemRequest::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct StructTraits<::device_signals::mojom::ExecutableMetadata::DataView,
::device_signals::mojom::ExecutableMetadataPtr> { … };
template <>
struct StructTraits<::device_signals::mojom::FileSystemItem::DataView,
::device_signals::mojom::FileSystemItemPtr> { … };
template <>
struct StructTraits<::device_signals::mojom::FileSystemItemRequest::DataView,
::device_signals::mojom::FileSystemItemRequestPtr> { … };
}
#endif