chromium/out/Default/gen/ui/webui/resources/cr_components/commerce/shopping_service.mojom.h

// ui/webui/resources/cr_components/commerce/shopping_service.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 UI_WEBUI_RESOURCES_CR_COMPONENTS_COMMERCE_SHOPPING_SERVICE_MOJOM_H_
#define UI_WEBUI_RESOURCES_CR_COMPONENTS_COMMERCE_SHOPPING_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 "ui/webui/resources/cr_components/commerce/shopping_service.mojom-features.h"  // IWYU pragma: export
#include "ui/webui/resources/cr_components/commerce/shopping_service.mojom-shared.h"  // IWYU pragma: export
#include "ui/webui/resources/cr_components/commerce/shopping_service.mojom-forward.h"  // IWYU pragma: export
#include "mojo/public/mojom/base/string16.mojom.h"
#include "mojo/public/mojom/base/uuid.mojom.h"
#include "url/mojom/url.mojom.h"
#include "mojo/public/mojom/base/values.mojom-forward.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 shopping_service::mojom {

class ShoppingServiceHandlerFactoryProxy;

template <typename ImplRefTraits>
class ShoppingServiceHandlerFactoryStub;

class ShoppingServiceHandlerFactoryRequestValidator;


class ShoppingServiceHandlerFactory
    : public ShoppingServiceHandlerFactoryInterfaceBase {};

class ShoppingServiceHandlerProxy;

template <typename ImplRefTraits>
class ShoppingServiceHandlerStub;

class ShoppingServiceHandlerRequestValidator;
class ShoppingServiceHandlerResponseValidator;


class ShoppingServiceHandler
    : public ShoppingServiceHandlerInterfaceBase {};

class PageProxy;

template <typename ImplRefTraits>
class PageStub;

class PageRequestValidator;


class Page
    : public PageInterfaceBase {};



class  ShoppingServiceHandlerFactoryProxy
    : public ShoppingServiceHandlerFactory {};



class  ShoppingServiceHandlerProxy
    : public ShoppingServiceHandler {};



class  PageProxy
    : public Page {};
class  ShoppingServiceHandlerFactoryStubDispatch {};

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

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

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

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

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

  PageStub() = default;
  ~PageStub() 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  ShoppingServiceHandlerFactoryRequestValidator : public mojo::MessageReceiver {};
class  ShoppingServiceHandlerRequestValidator : public mojo::MessageReceiver {};
class  PageRequestValidator : public mojo::MessageReceiver {};
class  ShoppingServiceHandlerResponseValidator : public mojo::MessageReceiver {};







class  PricePoint {};

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

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

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

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

















class  ProductInfo {};

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

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

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

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





class  BookmarkProductInfo {};

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

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

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

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






class  UrlInfo {};

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

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

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

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





class  PriceInsightsInfo {};

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

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

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

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





class  ProductSpecificationsDescriptionText {};

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

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

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

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





class  ProductSpecificationsOption {};

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

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

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

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





class  ProductSpecificationsDescription {};

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

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

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

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





class  ProductSpecificationsValue {};

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

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

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

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





class  ProductSpecificationsProduct {};

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

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

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

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





class  ProductSpecificationsFeatureState {};

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

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

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

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





class  ProductSpecifications {};

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

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

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

template <typename T, ProductSpecifications::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>
ProductInfoPtr ProductInfo::Clone() const {}

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

template <typename T, ProductInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
BookmarkProductInfoPtr BookmarkProductInfo::Clone() const {}

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

template <typename T, BookmarkProductInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
PricePointPtr PricePoint::Clone() const {}

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

template <typename T, PricePoint::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
UrlInfoPtr UrlInfo::Clone() const {}

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

template <typename T, UrlInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
PriceInsightsInfoPtr PriceInsightsInfo::Clone() const {}

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

template <typename T, PriceInsightsInfo::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ProductSpecificationsDescriptionTextPtr ProductSpecificationsDescriptionText::Clone() const {}

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

template <typename T, ProductSpecificationsDescriptionText::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ProductSpecificationsOptionPtr ProductSpecificationsOption::Clone() const {}

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

template <typename T, ProductSpecificationsOption::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ProductSpecificationsDescriptionPtr ProductSpecificationsDescription::Clone() const {}

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

template <typename T, ProductSpecificationsDescription::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ProductSpecificationsValuePtr ProductSpecificationsValue::Clone() const {}

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

template <typename T, ProductSpecificationsValue::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ProductSpecificationsProductPtr ProductSpecificationsProduct::Clone() const {}

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

template <typename T, ProductSpecificationsProduct::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ProductSpecificationsFeatureStatePtr ProductSpecificationsFeatureState::Clone() const {}

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

template <typename T, ProductSpecificationsFeatureState::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ProductSpecificationsPtr ProductSpecifications::Clone() const {}

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

template <typename T, ProductSpecifications::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) {}


}  // shopping_service::mojom

namespace mojo {


template <>
struct  StructTraits<::shopping_service::mojom::ProductInfo::DataView,
                                         ::shopping_service::mojom::ProductInfoPtr> {};


template <>
struct  StructTraits<::shopping_service::mojom::BookmarkProductInfo::DataView,
                                         ::shopping_service::mojom::BookmarkProductInfoPtr> {};


template <>
struct  StructTraits<::shopping_service::mojom::PricePoint::DataView,
                                         ::shopping_service::mojom::PricePointPtr> {};


template <>
struct  StructTraits<::shopping_service::mojom::UrlInfo::DataView,
                                         ::shopping_service::mojom::UrlInfoPtr> {};


template <>
struct  StructTraits<::shopping_service::mojom::PriceInsightsInfo::DataView,
                                         ::shopping_service::mojom::PriceInsightsInfoPtr> {};


template <>
struct  StructTraits<::shopping_service::mojom::ProductSpecificationsDescriptionText::DataView,
                                         ::shopping_service::mojom::ProductSpecificationsDescriptionTextPtr> {};


template <>
struct  StructTraits<::shopping_service::mojom::ProductSpecificationsOption::DataView,
                                         ::shopping_service::mojom::ProductSpecificationsOptionPtr> {};


template <>
struct  StructTraits<::shopping_service::mojom::ProductSpecificationsDescription::DataView,
                                         ::shopping_service::mojom::ProductSpecificationsDescriptionPtr> {};


template <>
struct  StructTraits<::shopping_service::mojom::ProductSpecificationsValue::DataView,
                                         ::shopping_service::mojom::ProductSpecificationsValuePtr> {};


template <>
struct  StructTraits<::shopping_service::mojom::ProductSpecificationsProduct::DataView,
                                         ::shopping_service::mojom::ProductSpecificationsProductPtr> {};


template <>
struct  StructTraits<::shopping_service::mojom::ProductSpecificationsFeatureState::DataView,
                                         ::shopping_service::mojom::ProductSpecificationsFeatureStatePtr> {};


template <>
struct  StructTraits<::shopping_service::mojom::ProductSpecifications::DataView,
                                         ::shopping_service::mojom::ProductSpecificationsPtr> {};


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

}  // namespace mojo

#endif  // UI_WEBUI_RESOURCES_CR_COMPONENTS_COMMERCE_SHOPPING_SERVICE_MOJOM_H_