#ifndef CONTENT_SERVICES_AUCTION_WORKLET_PUBLIC_MOJOM_BIDDER_WORKLET_MOJOM_H_
#define CONTENT_SERVICES_AUCTION_WORKLET_PUBLIC_MOJOM_BIDDER_WORKLET_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/bidder_worklet.mojom-features.h"
#include "content/services/auction_worklet/public/mojom/bidder_worklet.mojom-shared.h"
#include "content/services/auction_worklet/public/mojom/bidder_worklet.mojom-forward.h"
#include "content/services/auction_worklet/public/mojom/private_aggregation_request.mojom-forward.h"
#include "content/services/auction_worklet/public/mojom/real_time_reporting.mojom-forward.h"
#include "content/services/auction_worklet/public/mojom/reject_reason.mojom-forward.h"
#include "mojo/public/mojom/base/time.mojom.h"
#include "services/network/public/mojom/url_loader_factory.mojom-forward.h"
#include "third_party/blink/public/mojom/devtools/devtools_agent.mojom-forward.h"
#include "third_party/blink/public/mojom/interest_group/ad_display_size.mojom.h"
#include "third_party/blink/public/mojom/interest_group/interest_group_types.mojom.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 GenerateBidClientProxy;
template <typename ImplRefTraits>
class GenerateBidClientStub;
class GenerateBidClientRequestValidator;
class GenerateBidClientResponseValidator;
class CONTENT_EXPORT GenerateBidClient
: public GenerateBidClientInterfaceBase { … };
class GenerateBidFinalizerProxy;
template <typename ImplRefTraits>
class GenerateBidFinalizerStub;
class GenerateBidFinalizerRequestValidator;
class CONTENT_EXPORT GenerateBidFinalizer
: public GenerateBidFinalizerInterfaceBase { … };
class BidderWorkletProxy;
template <typename ImplRefTraits>
class BidderWorkletStub;
class BidderWorkletRequestValidator;
class BidderWorkletResponseValidator;
class CONTENT_EXPORT BidderWorklet
: public BidderWorkletInterfaceBase { … };
class CONTENT_EXPORT GenerateBidClientProxy
: public GenerateBidClient { … };
class CONTENT_EXPORT GenerateBidFinalizerProxy
: public GenerateBidFinalizer { … };
class CONTENT_EXPORT BidderWorkletProxy
: public BidderWorklet { … };
class CONTENT_EXPORT GenerateBidClientStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<GenerateBidClient>>
class GenerateBidClientStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
GenerateBidClientStub() = default;
~GenerateBidClientStub() 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 GenerateBidFinalizerStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<GenerateBidFinalizer>>
class GenerateBidFinalizerStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
GenerateBidFinalizerStub() = default;
~GenerateBidFinalizerStub() 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 BidderWorkletStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<BidderWorklet>>
class BidderWorkletStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
BidderWorkletStub() = default;
~BidderWorkletStub() 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 GenerateBidClientRequestValidator : public mojo::MessageReceiver { … };
class CONTENT_EXPORT GenerateBidFinalizerRequestValidator : public mojo::MessageReceiver { … };
class CONTENT_EXPORT BidderWorkletRequestValidator : public mojo::MessageReceiver { … };
class CONTENT_EXPORT GenerateBidClientResponseValidator : public mojo::MessageReceiver { … };
class CONTENT_EXPORT BidderWorkletResponseValidator : public mojo::MessageReceiver { … };
class CONTENT_EXPORT KAnonKey { … };
template <typename T, KAnonKey::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, KAnonKey::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, KAnonKey::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, KAnonKey::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class CONTENT_EXPORT PrioritySignalsDouble { … };
template <typename T, PrioritySignalsDouble::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, PrioritySignalsDouble::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, PrioritySignalsDouble::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, PrioritySignalsDouble::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class CONTENT_EXPORT PreviousWin { … };
template <typename T, PreviousWin::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, PreviousWin::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, PreviousWin::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, PreviousWin::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class CONTENT_EXPORT BidderWorkletNonSharedParams { … };
template <typename T, BidderWorkletNonSharedParams::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, BidderWorkletNonSharedParams::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, BidderWorkletNonSharedParams::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, BidderWorkletNonSharedParams::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class CONTENT_EXPORT BiddingBrowserSignals { … };
template <typename T, BiddingBrowserSignals::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, BiddingBrowserSignals::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, BiddingBrowserSignals::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, BiddingBrowserSignals::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class CONTENT_EXPORT BidderWorkletBid { … };
template <typename T, BidderWorkletBid::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, BidderWorkletBid::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, BidderWorkletBid::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, BidderWorkletBid::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class CONTENT_EXPORT GenerateBidDependencyLatencies { … };
template <typename T, GenerateBidDependencyLatencies::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, GenerateBidDependencyLatencies::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, GenerateBidDependencyLatencies::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, GenerateBidDependencyLatencies::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
PreviousWinPtr PreviousWin::Clone() const { … }
template <typename T, PreviousWin::EnableIfSame<T>*>
bool PreviousWin::Equals(const T& other_struct) const { … }
template <typename T, PreviousWin::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
KAnonKeyPtr KAnonKey::Clone() const { … }
template <typename T, KAnonKey::EnableIfSame<T>*>
bool KAnonKey::Equals(const T& other_struct) const { … }
template <typename T, KAnonKey::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
BidderWorkletNonSharedParamsPtr BidderWorkletNonSharedParams::Clone() const { … }
template <typename T, BidderWorkletNonSharedParams::EnableIfSame<T>*>
bool BidderWorkletNonSharedParams::Equals(const T& other_struct) const { … }
template <typename T, BidderWorkletNonSharedParams::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
BiddingBrowserSignalsPtr BiddingBrowserSignals::Clone() const { … }
template <typename T, BiddingBrowserSignals::EnableIfSame<T>*>
bool BiddingBrowserSignals::Equals(const T& other_struct) const { … }
template <typename T, BiddingBrowserSignals::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
BidderWorkletBidPtr BidderWorkletBid::Clone() const { … }
template <typename T, BidderWorkletBid::EnableIfSame<T>*>
bool BidderWorkletBid::Equals(const T& other_struct) const { … }
template <typename T, BidderWorkletBid::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
PrioritySignalsDoublePtr PrioritySignalsDouble::Clone() const { … }
template <typename T, PrioritySignalsDouble::EnableIfSame<T>*>
bool PrioritySignalsDouble::Equals(const T& other_struct) const { … }
template <typename T, PrioritySignalsDouble::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
GenerateBidDependencyLatenciesPtr GenerateBidDependencyLatencies::Clone() const { … }
template <typename T, GenerateBidDependencyLatencies::EnableIfSame<T>*>
bool GenerateBidDependencyLatencies::Equals(const T& other_struct) const { … }
template <typename T, GenerateBidDependencyLatencies::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct CONTENT_EXPORT StructTraits<::auction_worklet::mojom::PreviousWin::DataView,
::auction_worklet::mojom::PreviousWinPtr> { … };
template <>
struct CONTENT_EXPORT StructTraits<::auction_worklet::mojom::KAnonKey::DataView,
::auction_worklet::mojom::KAnonKeyPtr> { … };
template <>
struct CONTENT_EXPORT StructTraits<::auction_worklet::mojom::BidderWorkletNonSharedParams::DataView,
::auction_worklet::mojom::BidderWorkletNonSharedParamsPtr> { … };
template <>
struct CONTENT_EXPORT StructTraits<::auction_worklet::mojom::BiddingBrowserSignals::DataView,
::auction_worklet::mojom::BiddingBrowserSignalsPtr> { … };
template <>
struct CONTENT_EXPORT StructTraits<::auction_worklet::mojom::BidderWorkletBid::DataView,
::auction_worklet::mojom::BidderWorkletBidPtr> { … };
template <>
struct CONTENT_EXPORT StructTraits<::auction_worklet::mojom::PrioritySignalsDouble::DataView,
::auction_worklet::mojom::PrioritySignalsDoublePtr> { … };
template <>
struct CONTENT_EXPORT StructTraits<::auction_worklet::mojom::GenerateBidDependencyLatencies::DataView,
::auction_worklet::mojom::GenerateBidDependencyLatenciesPtr> { … };
}
#endif