#ifndef COMPONENTS_HISTORY_CLUSTERS_PUBLIC_MOJOM_HISTORY_CLUSTER_TYPES_MOJOM_SHARED_H_
#define COMPONENTS_HISTORY_CLUSTERS_PUBLIC_MOJOM_HISTORY_CLUSTER_TYPES_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/history_clusters/public/mojom/history_cluster_types.mojom-shared-internal.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "url/mojom/url.mojom-shared.h"
namespace history_clusters::mojom {
class MatchPositionDataView;
class SearchQueryDataView;
class RawVisitDataDataView;
class URLVisitDataView;
class ClusterDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::history_clusters::mojom::MatchPositionDataView> { … };
template <>
struct MojomTypeTraits<::history_clusters::mojom::SearchQueryDataView> { … };
template <>
struct MojomTypeTraits<::history_clusters::mojom::RawVisitDataDataView> { … };
template <>
struct MojomTypeTraits<::history_clusters::mojom::URLVisitDataView> { … };
template <>
struct MojomTypeTraits<::history_clusters::mojom::ClusterDataView> { … };
}
}
namespace history_clusters::mojom {
enum class Annotation : int32_t { … };
std::ostream& operator<<(std::ostream& os, Annotation value);
inline bool IsKnownEnumValue(Annotation value) { … }
enum class InteractionState : int32_t { … };
std::ostream& operator<<(std::ostream& os, InteractionState value);
inline bool IsKnownEnumValue(InteractionState value) { … }
class MatchPositionDataView { … };
class SearchQueryDataView { … };
class RawVisitDataDataView { … };
class URLVisitDataView { … };
class ClusterDataView { … };
}
namespace std {
template <>
struct hash<::history_clusters::mojom::Annotation>
: public mojo::internal::EnumHashImpl<::history_clusters::mojom::Annotation> { … };
template <>
struct hash<::history_clusters::mojom::InteractionState>
: public mojo::internal::EnumHashImpl<::history_clusters::mojom::InteractionState> { … };
}
namespace mojo {
namespace internal {
Serializer< ::history_clusters::mojom::Annotation, MaybeConstUserType>;
}
namespace internal {
Serializer< ::history_clusters::mojom::InteractionState, MaybeConstUserType>;
}
namespace internal {
Serializer< ::history_clusters::mojom::MatchPositionDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::history_clusters::mojom::SearchQueryDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::history_clusters::mojom::RawVisitDataDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::history_clusters::mojom::URLVisitDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::history_clusters::mojom::ClusterDataView, MaybeConstUserType>;
}
}
namespace history_clusters::mojom {
inline void SearchQueryDataView::GetQueryDataView(
mojo::StringDataView* output) { … }
inline void SearchQueryDataView::GetUrlDataView(
::url::mojom::UrlDataView* output) { … }
inline void RawVisitDataDataView::GetUrlDataView(
::url::mojom::UrlDataView* output) { … }
inline void RawVisitDataDataView::GetVisitTimeDataView(
::mojo_base::mojom::TimeDataView* output) { … }
inline void URLVisitDataView::GetNormalizedUrlDataView(
::url::mojom::UrlDataView* output) { … }
inline void URLVisitDataView::GetUrlForDisplayDataView(
mojo::StringDataView* output) { … }
inline void URLVisitDataView::GetPageTitleDataView(
mojo::StringDataView* output) { … }
inline void URLVisitDataView::GetTitleMatchPositionsDataView(
mojo::ArrayDataView<MatchPositionDataView>* output) { … }
inline void URLVisitDataView::GetUrlForDisplayMatchPositionsDataView(
mojo::ArrayDataView<MatchPositionDataView>* output) { … }
inline void URLVisitDataView::GetRawVisitDataDataView(
RawVisitDataDataView* output) { … }
inline void URLVisitDataView::GetDuplicatesDataView(
mojo::ArrayDataView<RawVisitDataDataView>* output) { … }
inline void URLVisitDataView::GetRelativeDateDataView(
mojo::StringDataView* output) { … }
inline void URLVisitDataView::GetAnnotationsDataView(
mojo::ArrayDataView<Annotation>* output) { … }
inline void URLVisitDataView::GetDebugInfoDataView(
mojo::MapDataView<mojo::StringDataView, mojo::StringDataView>* output) { … }
inline void ClusterDataView::GetVisitsDataView(
mojo::ArrayDataView<URLVisitDataView>* output) { … }
inline void ClusterDataView::GetLabelDataView(
mojo::StringDataView* output) { … }
inline void ClusterDataView::GetTabGroupNameDataView(
mojo::StringDataView* output) { … }
inline void ClusterDataView::GetLabelMatchPositionsDataView(
mojo::ArrayDataView<MatchPositionDataView>* output) { … }
inline void ClusterDataView::GetRelatedSearchesDataView(
mojo::ArrayDataView<SearchQueryDataView>* output) { … }
inline void ClusterDataView::GetImageUrlDataView(
::url::mojom::UrlDataView* output) { … }
inline void ClusterDataView::GetDebugInfoDataView(
mojo::StringDataView* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::history_clusters::mojom::Annotation> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::history_clusters::mojom::InteractionState> { … };
}
#endif