#ifndef CONTENT_SERVICES_AUCTION_WORKLET_PUBLIC_MOJOM_TRUSTED_SIGNALS_CACHE_MOJOM_H_
#define CONTENT_SERVICES_AUCTION_WORKLET_PUBLIC_MOJOM_TRUSTED_SIGNALS_CACHE_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 "content/services/auction_worklet/public/mojom/trusted_signals_cache.mojom-features.h"
#include "content/services/auction_worklet/public/mojom/trusted_signals_cache.mojom-shared.h"
#include "content/services/auction_worklet/public/mojom/trusted_signals_cache.mojom-forward.h"
#include "mojo/public/mojom/base/big_buffer.mojom.h"
#include "mojo/public/mojom/base/unguessable_token.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 "content/common/content_export.h"
namespace auction_worklet::mojom {
class TrustedSignalsCacheClientProxy;
template <typename ImplRefTraits>
class TrustedSignalsCacheClientStub;
class TrustedSignalsCacheClientRequestValidator;
class CONTENT_EXPORT TrustedSignalsCacheClient
: public TrustedSignalsCacheClientInterfaceBase { … };
class TrustedSignalsCacheProxy;
template <typename ImplRefTraits>
class TrustedSignalsCacheStub;
class TrustedSignalsCacheRequestValidator;
class CONTENT_EXPORT TrustedSignalsCache
: public TrustedSignalsCacheInterfaceBase { … };
class CONTENT_EXPORT TrustedSignalsCacheClientProxy
: public TrustedSignalsCacheClient { … };
class CONTENT_EXPORT TrustedSignalsCacheProxy
: public TrustedSignalsCache { … };
class CONTENT_EXPORT TrustedSignalsCacheClientStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<TrustedSignalsCacheClient>>
class TrustedSignalsCacheClientStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
TrustedSignalsCacheClientStub() = default;
~TrustedSignalsCacheClientStub() 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 CONTENT_EXPORT TrustedSignalsCacheStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<TrustedSignalsCache>>
class TrustedSignalsCacheStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
TrustedSignalsCacheStub() = default;
~TrustedSignalsCacheStub() 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 CONTENT_EXPORT TrustedSignalsCacheClientRequestValidator : public mojo::MessageReceiver { … };
class CONTENT_EXPORT TrustedSignalsCacheRequestValidator : public mojo::MessageReceiver { … };
}
namespace mojo {
}
#endif