chromium/out/Default/gen/chrome/browser/ui/webui/side_panel/customize_chrome/wallpaper_search/wallpaper_search.mojom-shared.h

// chrome/browser/ui/webui/side_panel/customize_chrome/wallpaper_search/wallpaper_search.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 CHROME_BROWSER_UI_WEBUI_SIDE_PANEL_CUSTOMIZE_CHROME_WALLPAPER_SEARCH_WALLPAPER_SEARCH_MOJOM_SHARED_H_
#define CHROME_BROWSER_UI_WEBUI_SIDE_PANEL_CUSTOMIZE_CHROME_WALLPAPER_SEARCH_WALLPAPER_SEARCH_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 "chrome/browser/ui/webui/side_panel/customize_chrome/wallpaper_search/wallpaper_search.mojom-shared-internal.h"
#include "mojo/public/mojom/base/token.mojom-shared.h"
#include "skia/public/mojom/skcolor.mojom-shared.h"
#include "url/mojom/url.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace side_panel::customize_chrome::mojom {
class KeyLabelDataView;

class GroupDataView;

class DescriptorBDataView;

class DescriptorsDataView;

class InspirationDataView;

class InspirationDescriptorsDataView;

class InspirationGroupDataView;

class WallpaperSearchResultDataView;

class ResultDescriptorsDataView;

class DescriptorDValueDataView;


}  // side_panel::customize_chrome::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::side_panel::customize_chrome::mojom::KeyLabelDataView> {};

template <>
struct MojomTypeTraits<::side_panel::customize_chrome::mojom::GroupDataView> {};

template <>
struct MojomTypeTraits<::side_panel::customize_chrome::mojom::DescriptorBDataView> {};

template <>
struct MojomTypeTraits<::side_panel::customize_chrome::mojom::DescriptorsDataView> {};

template <>
struct MojomTypeTraits<::side_panel::customize_chrome::mojom::InspirationDataView> {};

template <>
struct MojomTypeTraits<::side_panel::customize_chrome::mojom::InspirationDescriptorsDataView> {};

template <>
struct MojomTypeTraits<::side_panel::customize_chrome::mojom::InspirationGroupDataView> {};

template <>
struct MojomTypeTraits<::side_panel::customize_chrome::mojom::WallpaperSearchResultDataView> {};

template <>
struct MojomTypeTraits<::side_panel::customize_chrome::mojom::ResultDescriptorsDataView> {};

template <>
struct MojomTypeTraits<::side_panel::customize_chrome::mojom::DescriptorDValueDataView> {};

}  // namespace internal
}  // namespace mojo


namespace side_panel::customize_chrome::mojom {


enum class DescriptorDName : int32_t {};

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


enum class WallpaperSearchStatus : int32_t {};

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


enum class UserFeedback : int32_t {};

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

WallpaperSearchHandlerFactoryPtrDataView;
WallpaperSearchHandlerFactoryRequestDataView;
WallpaperSearchHandlerFactoryAssociatedPtrInfoDataView;
WallpaperSearchHandlerFactoryAssociatedRequestDataView;
class WallpaperSearchHandlerInterfaceBase {};

WallpaperSearchHandlerPtrDataView;
WallpaperSearchHandlerRequestDataView;
WallpaperSearchHandlerAssociatedPtrInfoDataView;
WallpaperSearchHandlerAssociatedRequestDataView;
class WallpaperSearchClientInterfaceBase {};

WallpaperSearchClientPtrDataView;
WallpaperSearchClientRequestDataView;
WallpaperSearchClientAssociatedPtrInfoDataView;
WallpaperSearchClientAssociatedRequestDataView;


class KeyLabelDataView {};


class GroupDataView {};


class DescriptorBDataView {};


class DescriptorsDataView {};


class InspirationDataView {};


class InspirationDescriptorsDataView {};


class InspirationGroupDataView {};


class WallpaperSearchResultDataView {};


class ResultDescriptorsDataView {};


class DescriptorDValueDataView {};



}  // side_panel::customize_chrome::mojom

namespace std {

template <>
struct hash<::side_panel::customize_chrome::mojom::DescriptorDName>
    : public mojo::internal::EnumHashImpl<::side_panel::customize_chrome::mojom::DescriptorDName> {};

template <>
struct hash<::side_panel::customize_chrome::mojom::WallpaperSearchStatus>
    : public mojo::internal::EnumHashImpl<::side_panel::customize_chrome::mojom::WallpaperSearchStatus> {};

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

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::side_panel::customize_chrome::mojom::DescriptorDName, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::side_panel::customize_chrome::mojom::WallpaperSearchStatus, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::side_panel::customize_chrome::mojom::UserFeedback, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::side_panel::customize_chrome::mojom::KeyLabelDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::side_panel::customize_chrome::mojom::GroupDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::side_panel::customize_chrome::mojom::DescriptorBDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::side_panel::customize_chrome::mojom::DescriptorsDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::side_panel::customize_chrome::mojom::InspirationDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::side_panel::customize_chrome::mojom::InspirationDescriptorsDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::side_panel::customize_chrome::mojom::InspirationGroupDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::side_panel::customize_chrome::mojom::WallpaperSearchResultDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::side_panel::customize_chrome::mojom::ResultDescriptorsDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::side_panel::customize_chrome::mojom::DescriptorDValueDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace side_panel::customize_chrome::mojom {

inline void KeyLabelDataView::GetKeyDataView(
    mojo::StringDataView* output) {}
inline void KeyLabelDataView::GetLabelDataView(
    mojo::StringDataView* output) {}


inline void GroupDataView::GetCategoryDataView(
    mojo::StringDataView* output) {}
inline void GroupDataView::GetDescriptorAsDataView(
    mojo::ArrayDataView<KeyLabelDataView>* output) {}


inline void DescriptorBDataView::GetKeyDataView(
    mojo::StringDataView* output) {}
inline void DescriptorBDataView::GetLabelDataView(
    mojo::StringDataView* output) {}
inline void DescriptorBDataView::GetImagePathDataView(
    mojo::StringDataView* output) {}


inline void DescriptorsDataView::GetGroupsDataView(
    mojo::ArrayDataView<GroupDataView>* output) {}
inline void DescriptorsDataView::GetDescriptorBDataView(
    mojo::ArrayDataView<DescriptorBDataView>* output) {}
inline void DescriptorsDataView::GetDescriptorCDataView(
    mojo::ArrayDataView<KeyLabelDataView>* output) {}


inline void InspirationDataView::GetIdDataView(
    ::mojo_base::mojom::TokenDataView* output) {}
inline void InspirationDataView::GetDescriptionDataView(
    mojo::StringDataView* output) {}
inline void InspirationDataView::GetBackgroundUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void InspirationDataView::GetThumbnailUrlDataView(
    ::url::mojom::UrlDataView* output) {}


inline void InspirationDescriptorsDataView::GetSubjectDataView(
    KeyLabelDataView* output) {}
inline void InspirationDescriptorsDataView::GetStyleDataView(
    KeyLabelDataView* output) {}
inline void InspirationDescriptorsDataView::GetMoodDataView(
    KeyLabelDataView* output) {}
inline void InspirationDescriptorsDataView::GetColorDataView(
    DescriptorDValueDataView* output) {}


inline void InspirationGroupDataView::GetDescriptorsDataView(
    InspirationDescriptorsDataView* output) {}
inline void InspirationGroupDataView::GetInspirationsDataView(
    mojo::ArrayDataView<InspirationDataView>* output) {}


inline void WallpaperSearchResultDataView::GetIdDataView(
    ::mojo_base::mojom::TokenDataView* output) {}
inline void WallpaperSearchResultDataView::GetImageDataView(
    mojo::StringDataView* output) {}
inline void WallpaperSearchResultDataView::GetDescriptorsDataView(
    ResultDescriptorsDataView* output) {}


inline void ResultDescriptorsDataView::GetSubjectDataView(
    mojo::StringDataView* output) {}
inline void ResultDescriptorsDataView::GetStyleDataView(
    mojo::StringDataView* output) {}
inline void ResultDescriptorsDataView::GetMoodDataView(
    mojo::StringDataView* output) {}
inline void ResultDescriptorsDataView::GetColorDataView(
    DescriptorDValueDataView* output) {}


inline void DescriptorDValueDataView::GetColorDataView(
    ::skia::mojom::SkColorDataView* output) const {}


}  // side_panel::customize_chrome::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::side_panel::customize_chrome::mojom::DescriptorDName> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::side_panel::customize_chrome::mojom::WallpaperSearchStatus> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::side_panel::customize_chrome::mojom::UserFeedback> {};

} // namespace perfetto

#endif  // CHROME_BROWSER_UI_WEBUI_SIDE_PANEL_CUSTOMIZE_CHROME_WALLPAPER_SEARCH_WALLPAPER_SEARCH_MOJOM_SHARED_H_