chromium/out/Default/gen/components/history_clusters/public/mojom/history_cluster_types.mojom-shared.h

// components/history_clusters/public/mojom/history_cluster_types.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 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;



}  // history_clusters::mojom

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 internal
}  // namespace mojo


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 {};


}  // history_clusters::mojom

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 std

namespace mojo {


namespace internal {

Serializer< ::history_clusters::mojom::Annotation, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::history_clusters::mojom::InteractionState, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::history_clusters::mojom::MatchPositionDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::history_clusters::mojom::SearchQueryDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::history_clusters::mojom::RawVisitDataDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::history_clusters::mojom::URLVisitDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::history_clusters::mojom::ClusterDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


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) {}



}  // history_clusters::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::history_clusters::mojom::Annotation> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::history_clusters::mojom::InteractionState> {};

} // namespace perfetto

#endif  // COMPONENTS_HISTORY_CLUSTERS_PUBLIC_MOJOM_HISTORY_CLUSTER_TYPES_MOJOM_SHARED_H_