chromium/out/Default/gen/content/services/auction_worklet/public/mojom/seller_worklet.mojom.h

// content/services/auction_worklet/public/mojom/seller_worklet.mojom.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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"  // IWYU pragma: export
#include "content/services/auction_worklet/public/mojom/seller_worklet.mojom-shared.h"  // IWYU pragma: export
#include "content/services/auction_worklet/public/mojom/seller_worklet.mojom-forward.h"  // IWYU pragma: export
#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 {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
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 {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
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 {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
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) {}


}  // auction_worklet::mojom

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> {};

}  // namespace mojo

#endif  // CONTENT_SERVICES_AUCTION_WORKLET_PUBLIC_MOJOM_SELLER_WORKLET_MOJOM_H_