#ifndef CONTENT_SERVICES_AUCTION_WORKLET_PUBLIC_MOJOM_AUCTION_WORKLET_SERVICE_MOJOM_H_
#define CONTENT_SERVICES_AUCTION_WORKLET_PUBLIC_MOJOM_AUCTION_WORKLET_SERVICE_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/auction_worklet_service.mojom-features.h"
#include "content/services/auction_worklet/public/mojom/auction_worklet_service.mojom-shared.h"
#include "content/services/auction_worklet/public/mojom/auction_worklet_service.mojom-forward.h"
#include "content/services/auction_worklet/public/mojom/bidder_worklet.mojom-forward.h"
#include "content/services/auction_worklet/public/mojom/seller_worklet.mojom-forward.h"
#include "content/services/auction_worklet/public/mojom/auction_network_events_handler.mojom-forward.h"
#include "content/services/auction_worklet/public/mojom/auction_shared_storage_host.mojom-forward.h"
#include "sandbox/policy/mojom/sandbox.mojom-forward.h"
#include "services/network/public/mojom/url_loader_factory.mojom-forward.h"
#include "third_party/blink/public/mojom/interest_group/interest_group_types.mojom-forward.h"
#include "url/mojom/origin.mojom.h"
#include "url/mojom/url.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 AuctionWorkletServiceProxy;
template <typename ImplRefTraits>
class AuctionWorkletServiceStub;
class AuctionWorkletServiceRequestValidator;
class CONTENT_EXPORT AuctionWorkletService
: public AuctionWorkletServiceInterfaceBase { … };
class CONTENT_EXPORT AuctionWorkletServiceProxy
: public AuctionWorkletService { … };
class CONTENT_EXPORT AuctionWorkletServiceStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<AuctionWorkletService>>
class AuctionWorkletServiceStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
AuctionWorkletServiceStub() = default;
~AuctionWorkletServiceStub() 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 AuctionWorkletServiceRequestValidator : public mojo::MessageReceiver { … };
class CONTENT_EXPORT AuctionWorkletPermissionsPolicyState { … };
template <typename T, AuctionWorkletPermissionsPolicyState::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, AuctionWorkletPermissionsPolicyState::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, AuctionWorkletPermissionsPolicyState::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, AuctionWorkletPermissionsPolicyState::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class CONTENT_EXPORT TrustedSignalsPublicKey { … };
template <typename T, TrustedSignalsPublicKey::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, TrustedSignalsPublicKey::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, TrustedSignalsPublicKey::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, TrustedSignalsPublicKey::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class CONTENT_EXPORT BrowserSignals { … };
template <typename T, BrowserSignals::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, BrowserSignals::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, BrowserSignals::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, BrowserSignals::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
BrowserSignalsPtr BrowserSignals::Clone() const { … }
template <typename T, BrowserSignals::EnableIfSame<T>*>
bool BrowserSignals::Equals(const T& other_struct) const { … }
template <typename T, BrowserSignals::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
AuctionWorkletPermissionsPolicyStatePtr AuctionWorkletPermissionsPolicyState::Clone() const { … }
template <typename T, AuctionWorkletPermissionsPolicyState::EnableIfSame<T>*>
bool AuctionWorkletPermissionsPolicyState::Equals(const T& other_struct) const { … }
template <typename T, AuctionWorkletPermissionsPolicyState::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
TrustedSignalsPublicKeyPtr TrustedSignalsPublicKey::Clone() const { … }
template <typename T, TrustedSignalsPublicKey::EnableIfSame<T>*>
bool TrustedSignalsPublicKey::Equals(const T& other_struct) const { … }
template <typename T, TrustedSignalsPublicKey::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct CONTENT_EXPORT StructTraits<::auction_worklet::mojom::BrowserSignals::DataView,
::auction_worklet::mojom::BrowserSignalsPtr> { … };
template <>
struct CONTENT_EXPORT StructTraits<::auction_worklet::mojom::AuctionWorkletPermissionsPolicyState::DataView,
::auction_worklet::mojom::AuctionWorkletPermissionsPolicyStatePtr> { … };
template <>
struct CONTENT_EXPORT StructTraits<::auction_worklet::mojom::TrustedSignalsPublicKey::DataView,
::auction_worklet::mojom::TrustedSignalsPublicKeyPtr> { … };
}
#endif