#ifndef UI_WEBUI_RESOURCES_CR_COMPONENTS_HISTORY_EMBEDDINGS_HISTORY_EMBEDDINGS_MOJOM_SHARED_H_
#define UI_WEBUI_RESOURCES_CR_COMPONENTS_HISTORY_EMBEDDINGS_HISTORY_EMBEDDINGS_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/history_embeddings/history_embeddings.mojom-shared-internal.h"
#include "mojo/public/mojom/base/time.mojom-shared.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 history_embeddings::mojom {
class AnswerDataDataView;
class SearchResultItemDataView;
class SearchQueryDataView;
class SearchResultDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::history_embeddings::mojom::AnswerDataDataView> { … };
template <>
struct MojomTypeTraits<::history_embeddings::mojom::SearchResultItemDataView> { … };
template <>
struct MojomTypeTraits<::history_embeddings::mojom::SearchQueryDataView> { … };
template <>
struct MojomTypeTraits<::history_embeddings::mojom::SearchResultDataView> { … };
}
}
namespace history_embeddings::mojom {
enum class UserFeedback : int32_t { … };
std::ostream& operator<<(std::ostream& os, UserFeedback value);
inline bool IsKnownEnumValue(UserFeedback value) { … }
class PageHandlerInterfaceBase { … };
PageHandlerPtrDataView;
PageHandlerRequestDataView;
PageHandlerAssociatedPtrInfoDataView;
PageHandlerAssociatedRequestDataView;
class PageInterfaceBase { … };
PagePtrDataView;
PageRequestDataView;
PageAssociatedPtrInfoDataView;
PageAssociatedRequestDataView;
class AnswerDataDataView { … };
class SearchResultItemDataView { … };
class SearchQueryDataView { … };
class SearchResultDataView { … };
}
namespace std {
template <>
struct hash<::history_embeddings::mojom::UserFeedback>
: public mojo::internal::EnumHashImpl<::history_embeddings::mojom::UserFeedback> { … };
}
namespace mojo {
namespace internal {
Serializer< ::history_embeddings::mojom::UserFeedback, MaybeConstUserType>;
}
namespace internal {
Serializer< ::history_embeddings::mojom::AnswerDataDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::history_embeddings::mojom::SearchResultItemDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::history_embeddings::mojom::SearchQueryDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::history_embeddings::mojom::SearchResultDataView, MaybeConstUserType>;
}
}
namespace history_embeddings::mojom {
inline void AnswerDataDataView::GetAnswerTextDirectivesDataView(
mojo::ArrayDataView<mojo::StringDataView>* output) { … }
inline void SearchResultItemDataView::GetTitleDataView(
mojo::StringDataView* output) { … }
inline void SearchResultItemDataView::GetUrlDataView(
::url::mojom::UrlDataView* output) { … }
inline void SearchResultItemDataView::GetUrlForDisplayDataView(
mojo::StringDataView* output) { … }
inline void SearchResultItemDataView::GetRelativeTimeDataView(
mojo::StringDataView* output) { … }
inline void SearchResultItemDataView::GetSourcePassageDataView(
mojo::StringDataView* output) { … }
inline void SearchResultItemDataView::GetAnswerDataDataView(
AnswerDataDataView* output) { … }
inline void SearchQueryDataView::GetQueryDataView(
mojo::StringDataView* output) { … }
inline void SearchQueryDataView::GetTimeRangeStartDataView(
::mojo_base::mojom::TimeDataView* output) { … }
inline void SearchResultDataView::GetQueryDataView(
mojo::StringDataView* output) { … }
inline void SearchResultDataView::GetAnswerDataView(
mojo::StringDataView* output) { … }
inline void SearchResultDataView::GetItemsDataView(
mojo::ArrayDataView<SearchResultItemDataView>* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::history_embeddings::mojom::UserFeedback> { … };
}
#endif