chromium/out/Default/gen/components/commerce/core/internals/mojom/commerce_internals.mojom.h

// components/commerce/core/internals/mojom/commerce_internals.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 COMPONENTS_COMMERCE_CORE_INTERNALS_MOJOM_COMMERCE_INTERNALS_MOJOM_H_
#define COMPONENTS_COMMERCE_CORE_INTERNALS_MOJOM_COMMERCE_INTERNALS_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 "components/commerce/core/internals/mojom/commerce_internals.mojom-features.h"  // IWYU pragma: export
#include "components/commerce/core/internals/mojom/commerce_internals.mojom-shared.h"  // IWYU pragma: export
#include "components/commerce/core/internals/mojom/commerce_internals.mojom-forward.h"  // IWYU pragma: export
#include "ui/webui/resources/cr_components/commerce/shopping_service.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"






namespace commerce::mojom {

class CommerceInternalsHandlerFactoryProxy;

template <typename ImplRefTraits>
class CommerceInternalsHandlerFactoryStub;

class CommerceInternalsHandlerFactoryRequestValidator;


class CommerceInternalsHandlerFactory
    : public CommerceInternalsHandlerFactoryInterfaceBase {};

class CommerceInternalsHandlerProxy;

template <typename ImplRefTraits>
class CommerceInternalsHandlerStub;

class CommerceInternalsHandlerRequestValidator;
class CommerceInternalsHandlerResponseValidator;


class CommerceInternalsHandler
    : public CommerceInternalsHandlerInterfaceBase {};

class CommerceInternalsPageProxy;

template <typename ImplRefTraits>
class CommerceInternalsPageStub;

class CommerceInternalsPageRequestValidator;


class CommerceInternalsPage
    : public CommerceInternalsPageInterfaceBase {};



class  CommerceInternalsHandlerFactoryProxy
    : public CommerceInternalsHandlerFactory {};



class  CommerceInternalsHandlerProxy
    : public CommerceInternalsHandler {};



class  CommerceInternalsPageProxy
    : public CommerceInternalsPage {};
class  CommerceInternalsHandlerFactoryStubDispatch {};

template <typename ImplRefTraits =
              mojo::RawPtrImplRefTraits<CommerceInternalsHandlerFactory>>
class CommerceInternalsHandlerFactoryStub
    : public mojo::MessageReceiverWithResponderStatus {
 public:
  using ImplPointerType = typename ImplRefTraits::PointerType;

  CommerceInternalsHandlerFactoryStub() = default;
  ~CommerceInternalsHandlerFactoryStub() 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  CommerceInternalsHandlerStubDispatch {};

template <typename ImplRefTraits =
              mojo::RawPtrImplRefTraits<CommerceInternalsHandler>>
class CommerceInternalsHandlerStub
    : public mojo::MessageReceiverWithResponderStatus {
 public:
  using ImplPointerType = typename ImplRefTraits::PointerType;

  CommerceInternalsHandlerStub() = default;
  ~CommerceInternalsHandlerStub() 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  CommerceInternalsPageStubDispatch {};

template <typename ImplRefTraits =
              mojo::RawPtrImplRefTraits<CommerceInternalsPage>>
class CommerceInternalsPageStub
    : public mojo::MessageReceiverWithResponderStatus {
 public:
  using ImplPointerType = typename ImplRefTraits::PointerType;

  CommerceInternalsPageStub() = default;
  ~CommerceInternalsPageStub() 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  CommerceInternalsHandlerFactoryRequestValidator : public mojo::MessageReceiver {};
class  CommerceInternalsHandlerRequestValidator : public mojo::MessageReceiver {};
class  CommerceInternalsPageRequestValidator : public mojo::MessageReceiver {};
class  CommerceInternalsHandlerResponseValidator : public mojo::MessageReceiver {};





class  EligibleEntry {};

// 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, EligibleEntry::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, EligibleEntry::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, EligibleEntry::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, EligibleEntry::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}











class  ShoppingListEligibleDetail {};

// 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, ShoppingListEligibleDetail::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, ShoppingListEligibleDetail::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, ShoppingListEligibleDetail::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, ShoppingListEligibleDetail::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  Subscription {};

// 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, Subscription::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, Subscription::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, Subscription::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, Subscription::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  ProductSpecificationsSet {};

// 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, ProductSpecificationsSet::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, ProductSpecificationsSet::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, ProductSpecificationsSet::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, ProductSpecificationsSet::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}

template <typename StructPtrType>
EligibleEntryPtr EligibleEntry::Clone() const {}

template <typename T, EligibleEntry::EnableIfSame<T>*>
bool EligibleEntry::Equals(const T& other_struct) const {}

template <typename T, EligibleEntry::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ShoppingListEligibleDetailPtr ShoppingListEligibleDetail::Clone() const {}

template <typename T, ShoppingListEligibleDetail::EnableIfSame<T>*>
bool ShoppingListEligibleDetail::Equals(const T& other_struct) const {}

template <typename T, ShoppingListEligibleDetail::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
SubscriptionPtr Subscription::Clone() const {}

template <typename T, Subscription::EnableIfSame<T>*>
bool Subscription::Equals(const T& other_struct) const {}

template <typename T, Subscription::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ProductSpecificationsSetPtr ProductSpecificationsSet::Clone() const {}

template <typename T, ProductSpecificationsSet::EnableIfSame<T>*>
bool ProductSpecificationsSet::Equals(const T& other_struct) const {}

template <typename T, ProductSpecificationsSet::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}


}  // commerce::mojom

namespace mojo {


template <>
struct  StructTraits<::commerce::mojom::EligibleEntry::DataView,
                                         ::commerce::mojom::EligibleEntryPtr> {};


template <>
struct  StructTraits<::commerce::mojom::ShoppingListEligibleDetail::DataView,
                                         ::commerce::mojom::ShoppingListEligibleDetailPtr> {};


template <>
struct  StructTraits<::commerce::mojom::Subscription::DataView,
                                         ::commerce::mojom::SubscriptionPtr> {};


template <>
struct  StructTraits<::commerce::mojom::ProductSpecificationsSet::DataView,
                                         ::commerce::mojom::ProductSpecificationsSetPtr> {};

}  // namespace mojo

#endif  // COMPONENTS_COMMERCE_CORE_INTERNALS_MOJOM_COMMERCE_INTERNALS_MOJOM_H_