#ifndef COMPONENTS_WEBAPPS_COMMON_WEB_PAGE_METADATA_MOJOM_SHARED_H_
#define COMPONENTS_WEBAPPS_COMMON_WEB_PAGE_METADATA_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 "components/webapps/common/web_page_metadata.mojom-shared-internal.h"
#include "mojo/public/mojom/base/string16.mojom-shared.h"
#include "url/mojom/url.mojom-shared.h"
namespace webapps::mojom {
class WebPageIconInfoDataView;
class WebPageMetadataDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::webapps::mojom::WebPageIconInfoDataView> { … };
template <>
struct MojomTypeTraits<::webapps::mojom::WebPageMetadataDataView> { … };
}
}
namespace webapps::mojom {
enum class WebPageMobileCapable : int32_t { … };
std::ostream& operator<<(std::ostream& os, WebPageMobileCapable value);
inline bool IsKnownEnumValue(WebPageMobileCapable value) { … }
class WebPageIconInfoDataView { … };
class WebPageMetadataDataView { … };
}
namespace std {
template <>
struct hash<::webapps::mojom::WebPageMobileCapable>
: public mojo::internal::EnumHashImpl<::webapps::mojom::WebPageMobileCapable> { … };
}
namespace mojo {
namespace internal {
Serializer< ::webapps::mojom::WebPageMobileCapable, MaybeConstUserType>;
}
namespace internal {
Serializer< ::webapps::mojom::WebPageIconInfoDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::webapps::mojom::WebPageMetadataDataView, MaybeConstUserType>;
}
}
namespace webapps::mojom {
inline void WebPageIconInfoDataView::GetUrlDataView(
::url::mojom::UrlDataView* output) { … }
inline void WebPageMetadataDataView::GetApplicationNameDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void WebPageMetadataDataView::GetDescriptionDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void WebPageMetadataDataView::GetApplicationUrlDataView(
::url::mojom::UrlDataView* output) { … }
inline void WebPageMetadataDataView::GetTitleDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void WebPageMetadataDataView::GetIconsDataView(
mojo::ArrayDataView<WebPageIconInfoDataView>* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::webapps::mojom::WebPageMobileCapable> { … };
}
#endif