#ifndef CHROME_BROWSER_UI_WEBUI_SIDE_PANEL_CUSTOMIZE_CHROME_CUSTOMIZE_TOOLBAR_CUSTOMIZE_TOOLBAR_MOJOM_SHARED_H_
#define CHROME_BROWSER_UI_WEBUI_SIDE_PANEL_CUSTOMIZE_CHROME_CUSTOMIZE_TOOLBAR_CUSTOMIZE_TOOLBAR_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_toolbar/customize_toolbar.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 side_panel::customize_chrome::mojom {
class ActionDataView;
class CategoryDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::side_panel::customize_chrome::mojom::ActionDataView> { … };
template <>
struct MojomTypeTraits<::side_panel::customize_chrome::mojom::CategoryDataView> { … };
}
}
namespace side_panel::customize_chrome::mojom {
enum class ActionId : int32_t { … };
std::ostream& operator<<(std::ostream& os, ActionId value);
inline bool IsKnownEnumValue(ActionId value) { … }
enum class CategoryId : int32_t { … };
std::ostream& operator<<(std::ostream& os, CategoryId value);
inline bool IsKnownEnumValue(CategoryId value) { … }
class CustomizeToolbarHandlerFactoryInterfaceBase { … };
CustomizeToolbarHandlerFactoryPtrDataView;
CustomizeToolbarHandlerFactoryRequestDataView;
CustomizeToolbarHandlerFactoryAssociatedPtrInfoDataView;
CustomizeToolbarHandlerFactoryAssociatedRequestDataView;
class CustomizeToolbarHandlerInterfaceBase { … };
CustomizeToolbarHandlerPtrDataView;
CustomizeToolbarHandlerRequestDataView;
CustomizeToolbarHandlerAssociatedPtrInfoDataView;
CustomizeToolbarHandlerAssociatedRequestDataView;
class CustomizeToolbarClientInterfaceBase { … };
CustomizeToolbarClientPtrDataView;
CustomizeToolbarClientRequestDataView;
CustomizeToolbarClientAssociatedPtrInfoDataView;
CustomizeToolbarClientAssociatedRequestDataView;
class ActionDataView { … };
class CategoryDataView { … };
}
namespace std {
template <>
struct hash<::side_panel::customize_chrome::mojom::ActionId>
: public mojo::internal::EnumHashImpl<::side_panel::customize_chrome::mojom::ActionId> { … };
template <>
struct hash<::side_panel::customize_chrome::mojom::CategoryId>
: public mojo::internal::EnumHashImpl<::side_panel::customize_chrome::mojom::CategoryId> { … };
}
namespace mojo {
namespace internal {
Serializer< ::side_panel::customize_chrome::mojom::ActionId, MaybeConstUserType>;
}
namespace internal {
Serializer< ::side_panel::customize_chrome::mojom::CategoryId, MaybeConstUserType>;
}
namespace internal {
Serializer< ::side_panel::customize_chrome::mojom::ActionDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::side_panel::customize_chrome::mojom::CategoryDataView, MaybeConstUserType>;
}
}
namespace side_panel::customize_chrome::mojom {
inline void ActionDataView::GetDisplayNameDataView(
mojo::StringDataView* output) { … }
inline void ActionDataView::GetIconUrlDataView(
::url::mojom::UrlDataView* output) { … }
inline void CategoryDataView::GetDisplayNameDataView(
mojo::StringDataView* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::side_panel::customize_chrome::mojom::ActionId> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::side_panel::customize_chrome::mojom::CategoryId> { … };
}
#endif