#ifndef CONTENT_SERVICES_AUCTION_WORKLET_PUBLIC_MOJOM_SELLER_WORKLET_MOJOM_H_
#define CONTENT_SERVICES_AUCTION_WORKLET_PUBLIC_MOJOM_SELLER_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/seller_worklet.mojom-features.h"
#include "content/services/auction_worklet/public/mojom/seller_worklet.mojom-shared.h"
#include "content/services/auction_worklet/public/mojom/seller_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 ScoreAdClientProxy;
template <typename ImplRefTraits>
class ScoreAdClientStub;
class ScoreAdClientRequestValidator;
class CONTENT_EXPORT ScoreAdClient
: public ScoreAdClientInterfaceBase { … };
class SellerWorkletProxy;
template <typename ImplRefTraits>
class SellerWorkletStub;
class SellerWorkletRequestValidator;
class SellerWorkletResponseValidator;
class CONTENT_EXPORT SellerWorklet
: public SellerWorkletInterfaceBase { … };
class CONTENT_EXPORT ScoreAdClientProxy
: public ScoreAdClient { … };
class CONTENT_EXPORT SellerWorkletProxy
: public SellerWorklet { … };
class CONTENT_EXPORT ScoreAdClientStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<ScoreAdClient>>
class ScoreAdClientStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
ScoreAdClientStub() = default;
~ScoreAdClientStub() 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 SellerWorkletStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<SellerWorklet>>
class SellerWorkletStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
SellerWorkletStub() = default;
~SellerWorkletStub() 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 ScoreAdClientRequestValidator : public mojo::MessageReceiver { … };
class CONTENT_EXPORT SellerWorkletRequestValidator : public mojo::MessageReceiver { … };
class CONTENT_EXPORT SellerWorkletResponseValidator : public mojo::MessageReceiver { … };
class CONTENT_EXPORT ComponentAuctionReportResultParams { … };
template <typename T, ComponentAuctionReportResultParams::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, ComponentAuctionReportResultParams::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, ComponentAuctionReportResultParams::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, ComponentAuctionReportResultParams::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class CONTENT_EXPORT ComponentAuctionOtherSeller { … };
class CONTENT_EXPORT ComponentAuctionModifiedBidParams { … };
template <typename T, ComponentAuctionModifiedBidParams::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, ComponentAuctionModifiedBidParams::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, ComponentAuctionModifiedBidParams::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, ComponentAuctionModifiedBidParams::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class CONTENT_EXPORT ScoreAdDependencyLatencies { … };
template <typename T, ScoreAdDependencyLatencies::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, ScoreAdDependencyLatencies::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, ScoreAdDependencyLatencies::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, ScoreAdDependencyLatencies::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename UnionPtrType>
ComponentAuctionOtherSellerPtr ComponentAuctionOtherSeller::Clone() const { … }
template <typename T,
typename std::enable_if<std::is_same<
T, ComponentAuctionOtherSeller>::value>::type*>
bool ComponentAuctionOtherSeller::Equals(const T& other) const { … }
template <typename StructPtrType>
ComponentAuctionModifiedBidParamsPtr ComponentAuctionModifiedBidParams::Clone() const { … }
template <typename T, ComponentAuctionModifiedBidParams::EnableIfSame<T>*>
bool ComponentAuctionModifiedBidParams::Equals(const T& other_struct) const { … }
template <typename T, ComponentAuctionModifiedBidParams::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
ComponentAuctionReportResultParamsPtr ComponentAuctionReportResultParams::Clone() const { … }
template <typename T, ComponentAuctionReportResultParams::EnableIfSame<T>*>
bool ComponentAuctionReportResultParams::Equals(const T& other_struct) const { … }
template <typename T, ComponentAuctionReportResultParams::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
ScoreAdDependencyLatenciesPtr ScoreAdDependencyLatencies::Clone() const { … }
template <typename T, ScoreAdDependencyLatencies::EnableIfSame<T>*>
bool ScoreAdDependencyLatencies::Equals(const T& other_struct) const { … }
template <typename T, ScoreAdDependencyLatencies::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct CONTENT_EXPORT StructTraits<::auction_worklet::mojom::ComponentAuctionModifiedBidParams::DataView,
::auction_worklet::mojom::ComponentAuctionModifiedBidParamsPtr> { … };
template <>
struct CONTENT_EXPORT StructTraits<::auction_worklet::mojom::ComponentAuctionReportResultParams::DataView,
::auction_worklet::mojom::ComponentAuctionReportResultParamsPtr> { … };
template <>
struct CONTENT_EXPORT StructTraits<::auction_worklet::mojom::ScoreAdDependencyLatencies::DataView,
::auction_worklet::mojom::ScoreAdDependencyLatenciesPtr> { … };
template <>
struct CONTENT_EXPORT UnionTraits<::auction_worklet::mojom::ComponentAuctionOtherSeller::DataView,
::auction_worklet::mojom::ComponentAuctionOtherSellerPtr> { … };
}
#endif