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

// ui/webui/resources/cr_components/commerce/shopping_service.mojom-shared.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 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_SHARED_H_
#define UI_WEBUI_RESOURCES_CR_COMPONENTS_COMMERCE_SHOPPING_SERVICE_MOJOM_SHARED_H_

#include <stdint.h>

#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "mojo/public/cpp/bindings/array_data_view.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/interface_data_view.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/map_data_view.h"
#include "mojo/public/cpp/bindings/string_data_view.h"

#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"

#include "ui/webui/resources/cr_components/commerce/shopping_service.mojom-shared-internal.h"
#include "mojo/public/mojom/base/string16.mojom-shared.h"
#include "mojo/public/mojom/base/uuid.mojom-shared.h"
#include "url/mojom/url.mojom-shared.h"
#include "mojo/public/mojom/base/values.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace shopping_service::mojom {
class ProductInfoDataView;

class BookmarkProductInfoDataView;

class PricePointDataView;

class UrlInfoDataView;

class PriceInsightsInfoDataView;

class ProductSpecificationsDescriptionTextDataView;

class ProductSpecificationsOptionDataView;

class ProductSpecificationsDescriptionDataView;

class ProductSpecificationsValueDataView;

class ProductSpecificationsProductDataView;

class ProductSpecificationsFeatureStateDataView;

class ProductSpecificationsDataView;

class ProductSpecificationsSetDataView;



}  // shopping_service::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::shopping_service::mojom::ProductInfoDataView> {};

template <>
struct MojomTypeTraits<::shopping_service::mojom::BookmarkProductInfoDataView> {};

template <>
struct MojomTypeTraits<::shopping_service::mojom::PricePointDataView> {};

template <>
struct MojomTypeTraits<::shopping_service::mojom::UrlInfoDataView> {};

template <>
struct MojomTypeTraits<::shopping_service::mojom::PriceInsightsInfoDataView> {};

template <>
struct MojomTypeTraits<::shopping_service::mojom::ProductSpecificationsDescriptionTextDataView> {};

template <>
struct MojomTypeTraits<::shopping_service::mojom::ProductSpecificationsOptionDataView> {};

template <>
struct MojomTypeTraits<::shopping_service::mojom::ProductSpecificationsDescriptionDataView> {};

template <>
struct MojomTypeTraits<::shopping_service::mojom::ProductSpecificationsValueDataView> {};

template <>
struct MojomTypeTraits<::shopping_service::mojom::ProductSpecificationsProductDataView> {};

template <>
struct MojomTypeTraits<::shopping_service::mojom::ProductSpecificationsFeatureStateDataView> {};

template <>
struct MojomTypeTraits<::shopping_service::mojom::ProductSpecificationsDataView> {};

template <>
struct MojomTypeTraits<::shopping_service::mojom::ProductSpecificationsSetDataView> {};

}  // namespace internal
}  // namespace mojo


namespace shopping_service::mojom {


enum class ProductSpecificationsDisclosureVersion : int32_t {};

 std::ostream& operator<<(std::ostream& os, ProductSpecificationsDisclosureVersion value);
inline bool IsKnownEnumValue(ProductSpecificationsDisclosureVersion value) {}


enum class UserFeedback : int32_t {};

 std::ostream& operator<<(std::ostream& os, UserFeedback value);
inline bool IsKnownEnumValue(UserFeedback value) {}


enum class PriceInsightsInfo_PriceBucket : int32_t {};

 std::ostream& operator<<(std::ostream& os, PriceInsightsInfo_PriceBucket value);
inline bool IsKnownEnumValue(PriceInsightsInfo_PriceBucket value) {}
// Interface base classes. They are used for type safety check.
class ShoppingServiceHandlerFactoryInterfaceBase {};

ShoppingServiceHandlerFactoryPtrDataView;
ShoppingServiceHandlerFactoryRequestDataView;
ShoppingServiceHandlerFactoryAssociatedPtrInfoDataView;
ShoppingServiceHandlerFactoryAssociatedRequestDataView;
class ShoppingServiceHandlerInterfaceBase {};

ShoppingServiceHandlerPtrDataView;
ShoppingServiceHandlerRequestDataView;
ShoppingServiceHandlerAssociatedPtrInfoDataView;
ShoppingServiceHandlerAssociatedRequestDataView;
class PageInterfaceBase {};

PagePtrDataView;
PageRequestDataView;
PageAssociatedPtrInfoDataView;
PageAssociatedRequestDataView;


class ProductInfoDataView {};


class BookmarkProductInfoDataView {};


class PricePointDataView {};


class UrlInfoDataView {};


class PriceInsightsInfoDataView {};


class ProductSpecificationsDescriptionTextDataView {};


class ProductSpecificationsOptionDataView {};


class ProductSpecificationsDescriptionDataView {};


class ProductSpecificationsValueDataView {};


class ProductSpecificationsProductDataView {};


class ProductSpecificationsFeatureStateDataView {};


class ProductSpecificationsDataView {};


class ProductSpecificationsSetDataView {};


}  // shopping_service::mojom

namespace std {

template <>
struct hash<::shopping_service::mojom::ProductSpecificationsDisclosureVersion>
    : public mojo::internal::EnumHashImpl<::shopping_service::mojom::ProductSpecificationsDisclosureVersion> {};

template <>
struct hash<::shopping_service::mojom::UserFeedback>
    : public mojo::internal::EnumHashImpl<::shopping_service::mojom::UserFeedback> {};

template <>
struct hash<::shopping_service::mojom::PriceInsightsInfo_PriceBucket>
    : public mojo::internal::EnumHashImpl<::shopping_service::mojom::PriceInsightsInfo_PriceBucket> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::shopping_service::mojom::ProductSpecificationsDisclosureVersion, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::shopping_service::mojom::UserFeedback, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::shopping_service::mojom::PriceInsightsInfo_PriceBucket, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::shopping_service::mojom::ProductInfoDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::shopping_service::mojom::BookmarkProductInfoDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::shopping_service::mojom::PricePointDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::shopping_service::mojom::UrlInfoDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::shopping_service::mojom::PriceInsightsInfoDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::shopping_service::mojom::ProductSpecificationsDescriptionTextDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::shopping_service::mojom::ProductSpecificationsOptionDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::shopping_service::mojom::ProductSpecificationsDescriptionDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::shopping_service::mojom::ProductSpecificationsValueDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::shopping_service::mojom::ProductSpecificationsProductDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::shopping_service::mojom::ProductSpecificationsFeatureStateDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::shopping_service::mojom::ProductSpecificationsDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::shopping_service::mojom::ProductSpecificationsSetDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace shopping_service::mojom {

inline void ProductInfoDataView::GetTitleDataView(
    mojo::StringDataView* output) {}
inline void ProductInfoDataView::GetClusterTitleDataView(
    mojo::StringDataView* output) {}
inline void ProductInfoDataView::GetDomainDataView(
    mojo::StringDataView* output) {}
inline void ProductInfoDataView::GetImageUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void ProductInfoDataView::GetProductUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void ProductInfoDataView::GetCurrentPriceDataView(
    mojo::StringDataView* output) {}
inline void ProductInfoDataView::GetPreviousPriceDataView(
    mojo::StringDataView* output) {}
inline void ProductInfoDataView::GetCategoryLabelsDataView(
    mojo::ArrayDataView<mojo::StringDataView>* output) {}


inline void BookmarkProductInfoDataView::GetInfoDataView(
    ProductInfoDataView* output) {}


inline void PricePointDataView::GetDateDataView(
    mojo::StringDataView* output) {}
inline void PricePointDataView::GetFormattedPriceDataView(
    mojo::StringDataView* output) {}


inline void UrlInfoDataView::GetTitleDataView(
    mojo::StringDataView* output) {}
inline void UrlInfoDataView::GetUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void UrlInfoDataView::GetFaviconUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void UrlInfoDataView::GetThumbnailUrlDataView(
    ::url::mojom::UrlDataView* output) {}


inline void PriceInsightsInfoDataView::GetTypicalLowPriceDataView(
    mojo::StringDataView* output) {}
inline void PriceInsightsInfoDataView::GetTypicalHighPriceDataView(
    mojo::StringDataView* output) {}
inline void PriceInsightsInfoDataView::GetCatalogAttributesDataView(
    mojo::StringDataView* output) {}
inline void PriceInsightsInfoDataView::GetJackpotDataView(
    ::url::mojom::UrlDataView* output) {}
inline void PriceInsightsInfoDataView::GetHistoryDataView(
    mojo::ArrayDataView<PricePointDataView>* output) {}
inline void PriceInsightsInfoDataView::GetLocaleDataView(
    mojo::StringDataView* output) {}
inline void PriceInsightsInfoDataView::GetCurrencyCodeDataView(
    mojo::StringDataView* output) {}


inline void ProductSpecificationsDescriptionTextDataView::GetTextDataView(
    mojo::StringDataView* output) {}
inline void ProductSpecificationsDescriptionTextDataView::GetUrlsDataView(
    mojo::ArrayDataView<UrlInfoDataView>* output) {}


inline void ProductSpecificationsOptionDataView::GetDescriptionsDataView(
    mojo::ArrayDataView<ProductSpecificationsDescriptionTextDataView>* output) {}


inline void ProductSpecificationsDescriptionDataView::GetOptionsDataView(
    mojo::ArrayDataView<ProductSpecificationsOptionDataView>* output) {}
inline void ProductSpecificationsDescriptionDataView::GetLabelDataView(
    mojo::StringDataView* output) {}
inline void ProductSpecificationsDescriptionDataView::GetAltTextDataView(
    mojo::StringDataView* output) {}


inline void ProductSpecificationsValueDataView::GetSpecificationDescriptionsDataView(
    mojo::ArrayDataView<ProductSpecificationsDescriptionDataView>* output) {}
inline void ProductSpecificationsValueDataView::GetSummaryDataView(
    mojo::ArrayDataView<ProductSpecificationsDescriptionTextDataView>* output) {}


inline void ProductSpecificationsProductDataView::GetTitleDataView(
    mojo::StringDataView* output) {}
inline void ProductSpecificationsProductDataView::GetImageUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void ProductSpecificationsProductDataView::GetProductDimensionValuesDataView(
    mojo::MapDataView<uint64_t, ProductSpecificationsValueDataView>* output) {}
inline void ProductSpecificationsProductDataView::GetSummaryDataView(
    mojo::ArrayDataView<ProductSpecificationsDescriptionTextDataView>* output) {}




inline void ProductSpecificationsDataView::GetProductDimensionMapDataView(
    mojo::MapDataView<uint64_t, mojo::StringDataView>* output) {}
inline void ProductSpecificationsDataView::GetProductsDataView(
    mojo::ArrayDataView<ProductSpecificationsProductDataView>* output) {}


inline void ProductSpecificationsSetDataView::GetNameDataView(
    mojo::StringDataView* output) {}
inline void ProductSpecificationsSetDataView::GetUuidDataView(
    ::mojo_base::mojom::UuidDataView* output) {}
inline void ProductSpecificationsSetDataView::GetUrlsDataView(
    mojo::ArrayDataView<::url::mojom::UrlDataView>* output) {}



}  // shopping_service::mojom

// Declare TraceFormatTraits for enums, which should be defined in ::perfetto
// namespace.

namespace perfetto {

template <>
struct  TraceFormatTraits<::shopping_service::mojom::ProductSpecificationsDisclosureVersion> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::shopping_service::mojom::UserFeedback> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::shopping_service::mojom::PriceInsightsInfo_PriceBucket> {};

} // namespace perfetto

#endif  // UI_WEBUI_RESOURCES_CR_COMPONENTS_COMMERCE_SHOPPING_SERVICE_MOJOM_SHARED_H_