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

// chrome/browser/ui/webui/side_panel/customize_chrome/customize_chrome.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_CUSTOMIZE_CHROME_MOJOM_SHARED_H_
#define CHROME_BROWSER_UI_WEBUI_SIDE_PANEL_CUSTOMIZE_CHROME_CUSTOMIZE_CHROME_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/customize_chrome.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::mojom {
class BackgroundImageDataView;

class ThirdPartyThemeInfoDataView;

class ThemeDataView;

class BackgroundCollectionDataView;

class CollectionImageDataView;

class ModuleSettingsDataView;



}  // side_panel::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::side_panel::mojom::BackgroundImageDataView> {};

template <>
struct MojomTypeTraits<::side_panel::mojom::ThirdPartyThemeInfoDataView> {};

template <>
struct MojomTypeTraits<::side_panel::mojom::ThemeDataView> {};

template <>
struct MojomTypeTraits<::side_panel::mojom::BackgroundCollectionDataView> {};

template <>
struct MojomTypeTraits<::side_panel::mojom::CollectionImageDataView> {};

template <>
struct MojomTypeTraits<::side_panel::mojom::ModuleSettingsDataView> {};

}  // namespace internal
}  // namespace mojo


namespace side_panel::mojom {


enum class CustomizeChromeSection : int32_t {};

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


enum class ChromeWebStoreCollection : int32_t {};

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


enum class ChromeWebStoreCategory : int32_t {};

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

CustomizeChromePageHandlerFactoryPtrDataView;
CustomizeChromePageHandlerFactoryRequestDataView;
CustomizeChromePageHandlerFactoryAssociatedPtrInfoDataView;
CustomizeChromePageHandlerFactoryAssociatedRequestDataView;
class CustomizeChromePageHandlerInterfaceBase {};

CustomizeChromePageHandlerPtrDataView;
CustomizeChromePageHandlerRequestDataView;
CustomizeChromePageHandlerAssociatedPtrInfoDataView;
CustomizeChromePageHandlerAssociatedRequestDataView;
class CustomizeChromePageInterfaceBase {};

CustomizeChromePagePtrDataView;
CustomizeChromePageRequestDataView;
CustomizeChromePageAssociatedPtrInfoDataView;
CustomizeChromePageAssociatedRequestDataView;


class BackgroundImageDataView {};


class ThirdPartyThemeInfoDataView {};


class ThemeDataView {};


class BackgroundCollectionDataView {};


class CollectionImageDataView {};


class ModuleSettingsDataView {};


}  // side_panel::mojom

namespace std {

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

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

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

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::side_panel::mojom::CustomizeChromeSection, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::side_panel::mojom::ChromeWebStoreCollection, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::side_panel::mojom::ChromeWebStoreCategory, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::side_panel::mojom::BackgroundImageDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::side_panel::mojom::ThirdPartyThemeInfoDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::side_panel::mojom::ThemeDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::side_panel::mojom::BackgroundCollectionDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::side_panel::mojom::CollectionImageDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::side_panel::mojom::ModuleSettingsDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace side_panel::mojom {

inline void BackgroundImageDataView::GetUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void BackgroundImageDataView::GetSnapshotUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void BackgroundImageDataView::GetLocalBackgroundIdDataView(
    ::mojo_base::mojom::TokenDataView* output) {}
inline void BackgroundImageDataView::GetTitleDataView(
    mojo::StringDataView* output) {}
inline void BackgroundImageDataView::GetCollectionIdDataView(
    mojo::StringDataView* output) {}


inline void ThirdPartyThemeInfoDataView::GetIdDataView(
    mojo::StringDataView* output) {}
inline void ThirdPartyThemeInfoDataView::GetNameDataView(
    mojo::StringDataView* output) {}


inline void ThemeDataView::GetBackgroundImageDataView(
    BackgroundImageDataView* output) {}
inline void ThemeDataView::GetThirdPartyThemeInfoDataView(
    ThirdPartyThemeInfoDataView* output) {}
inline void ThemeDataView::GetBackgroundColorDataView(
    ::skia::mojom::SkColorDataView* output) {}
inline void ThemeDataView::GetForegroundColorDataView(
    ::skia::mojom::SkColorDataView* output) {}


inline void BackgroundCollectionDataView::GetIdDataView(
    mojo::StringDataView* output) {}
inline void BackgroundCollectionDataView::GetLabelDataView(
    mojo::StringDataView* output) {}
inline void BackgroundCollectionDataView::GetPreviewImageUrlDataView(
    ::url::mojom::UrlDataView* output) {}


inline void CollectionImageDataView::GetAttribution1DataView(
    mojo::StringDataView* output) {}
inline void CollectionImageDataView::GetAttribution2DataView(
    mojo::StringDataView* output) {}
inline void CollectionImageDataView::GetAttributionUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void CollectionImageDataView::GetImageUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void CollectionImageDataView::GetPreviewImageUrlDataView(
    ::url::mojom::UrlDataView* output) {}
inline void CollectionImageDataView::GetCollectionIdDataView(
    mojo::StringDataView* output) {}


inline void ModuleSettingsDataView::GetIdDataView(
    mojo::StringDataView* output) {}
inline void ModuleSettingsDataView::GetNameDataView(
    mojo::StringDataView* output) {}



}  // side_panel::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::side_panel::mojom::CustomizeChromeSection> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::side_panel::mojom::ChromeWebStoreCollection> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::side_panel::mojom::ChromeWebStoreCategory> {};

} // namespace perfetto

#endif  // CHROME_BROWSER_UI_WEBUI_SIDE_PANEL_CUSTOMIZE_CHROME_CUSTOMIZE_CHROME_MOJOM_SHARED_H_