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

// ui/webui/resources/cr_components/app_management/app_management.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_APP_MANAGEMENT_APP_MANAGEMENT_MOJOM_SHARED_H_
#define UI_WEBUI_RESOURCES_CR_COMPONENTS_APP_MANAGEMENT_APP_MANAGEMENT_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/app_management/app_management.mojom-shared-internal.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 app_management::mojom {
class PermissionDataView;

class RunOnOsLoginDataView;

class LocaleDataView;

class AppDataView;

class ExtensionAppPermissionMessageDataView;

class FileHandlingStateDataView;

class PermissionValueDataView;


}  // app_management::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::app_management::mojom::PermissionDataView> {};

template <>
struct MojomTypeTraits<::app_management::mojom::RunOnOsLoginDataView> {};

template <>
struct MojomTypeTraits<::app_management::mojom::LocaleDataView> {};

template <>
struct MojomTypeTraits<::app_management::mojom::AppDataView> {};

template <>
struct MojomTypeTraits<::app_management::mojom::ExtensionAppPermissionMessageDataView> {};

template <>
struct MojomTypeTraits<::app_management::mojom::FileHandlingStateDataView> {};

template <>
struct MojomTypeTraits<::app_management::mojom::PermissionValueDataView> {};

}  // namespace internal
}  // namespace mojo


namespace app_management::mojom {


enum class AppType : int32_t {};

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


enum class PermissionType : int32_t {};

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


enum class TriState : int32_t {};

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


enum class InstallReason : int32_t {};

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


enum class InstallSource : int32_t {};

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


enum class WindowMode : int32_t {};

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


enum class RunOnOsLoginMode : int32_t {};

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

PageHandlerFactoryPtrDataView;
PageHandlerFactoryRequestDataView;
PageHandlerFactoryAssociatedPtrInfoDataView;
PageHandlerFactoryAssociatedRequestDataView;
class PageHandlerInterfaceBase {};

PageHandlerPtrDataView;
PageHandlerRequestDataView;
PageHandlerAssociatedPtrInfoDataView;
PageHandlerAssociatedRequestDataView;
class PageInterfaceBase {};

PagePtrDataView;
PageRequestDataView;
PageAssociatedPtrInfoDataView;
PageAssociatedRequestDataView;


class PermissionDataView {};


class RunOnOsLoginDataView {};


class LocaleDataView {};


class AppDataView {};


class ExtensionAppPermissionMessageDataView {};


class FileHandlingStateDataView {};


class PermissionValueDataView {};



}  // app_management::mojom

namespace std {

template <>
struct hash<::app_management::mojom::AppType>
    : public mojo::internal::EnumHashImpl<::app_management::mojom::AppType> {};

template <>
struct hash<::app_management::mojom::PermissionType>
    : public mojo::internal::EnumHashImpl<::app_management::mojom::PermissionType> {};

template <>
struct hash<::app_management::mojom::TriState>
    : public mojo::internal::EnumHashImpl<::app_management::mojom::TriState> {};

template <>
struct hash<::app_management::mojom::InstallReason>
    : public mojo::internal::EnumHashImpl<::app_management::mojom::InstallReason> {};

template <>
struct hash<::app_management::mojom::InstallSource>
    : public mojo::internal::EnumHashImpl<::app_management::mojom::InstallSource> {};

template <>
struct hash<::app_management::mojom::WindowMode>
    : public mojo::internal::EnumHashImpl<::app_management::mojom::WindowMode> {};

template <>
struct hash<::app_management::mojom::RunOnOsLoginMode>
    : public mojo::internal::EnumHashImpl<::app_management::mojom::RunOnOsLoginMode> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::app_management::mojom::AppType, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::app_management::mojom::PermissionType, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::app_management::mojom::TriState, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::app_management::mojom::InstallReason, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::app_management::mojom::InstallSource, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::app_management::mojom::WindowMode, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::app_management::mojom::RunOnOsLoginMode, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::app_management::mojom::PermissionDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::app_management::mojom::RunOnOsLoginDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::app_management::mojom::LocaleDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::app_management::mojom::AppDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::app_management::mojom::ExtensionAppPermissionMessageDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::app_management::mojom::FileHandlingStateDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::app_management::mojom::PermissionValueDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace app_management::mojom {

inline void PermissionDataView::GetValueDataView(
    PermissionValueDataView* output) {}
inline void PermissionDataView::GetDetailsDataView(
    mojo::StringDataView* output) {}




inline void LocaleDataView::GetLocaleTagDataView(
    mojo::StringDataView* output) {}
inline void LocaleDataView::GetDisplayNameDataView(
    mojo::StringDataView* output) {}
inline void LocaleDataView::GetNativeDisplayNameDataView(
    mojo::StringDataView* output) {}


inline void AppDataView::GetIdDataView(
    mojo::StringDataView* output) {}
inline void AppDataView::GetTitleDataView(
    mojo::StringDataView* output) {}
inline void AppDataView::GetDescriptionDataView(
    mojo::StringDataView* output) {}
inline void AppDataView::GetVersionDataView(
    mojo::StringDataView* output) {}
inline void AppDataView::GetSizeDataView(
    mojo::StringDataView* output) {}
inline void AppDataView::GetPermissionsDataView(
    mojo::MapDataView<PermissionType, PermissionDataView>* output) {}
inline void AppDataView::GetSupportedLinksDataView(
    mojo::ArrayDataView<mojo::StringDataView>* output) {}
inline void AppDataView::GetRunOnOsLoginDataView(
    RunOnOsLoginDataView* output) {}
inline void AppDataView::GetFileHandlingStateDataView(
    FileHandlingStateDataView* output) {}
inline void AppDataView::GetAppSizeDataView(
    mojo::StringDataView* output) {}
inline void AppDataView::GetDataSizeDataView(
    mojo::StringDataView* output) {}
inline void AppDataView::GetPublisherIdDataView(
    mojo::StringDataView* output) {}
inline void AppDataView::GetFormattedOriginDataView(
    mojo::StringDataView* output) {}
inline void AppDataView::GetScopeExtensionsDataView(
    mojo::ArrayDataView<mojo::StringDataView>* output) {}
inline void AppDataView::GetSupportedLocalesDataView(
    mojo::ArrayDataView<LocaleDataView>* output) {}
inline void AppDataView::GetSelectedLocaleDataView(
    LocaleDataView* output) {}


inline void ExtensionAppPermissionMessageDataView::GetMessageDataView(
    mojo::StringDataView* output) {}
inline void ExtensionAppPermissionMessageDataView::GetSubmessagesDataView(
    mojo::ArrayDataView<mojo::StringDataView>* output) {}


inline void FileHandlingStateDataView::GetUserVisibleTypesDataView(
    mojo::StringDataView* output) {}
inline void FileHandlingStateDataView::GetUserVisibleTypesLabelDataView(
    mojo::StringDataView* output) {}
inline void FileHandlingStateDataView::GetLearnMoreUrlDataView(
    ::url::mojom::UrlDataView* output) {}




}  // app_management::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::app_management::mojom::AppType> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::app_management::mojom::PermissionType> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::app_management::mojom::TriState> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::app_management::mojom::InstallReason> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::app_management::mojom::InstallSource> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::app_management::mojom::WindowMode> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::app_management::mojom::RunOnOsLoginMode> {};

} // namespace perfetto

#endif  // UI_WEBUI_RESOURCES_CR_COMPONENTS_APP_MANAGEMENT_APP_MANAGEMENT_MOJOM_SHARED_H_