chromium/out/Default/gen/ui/webui/resources/cr_components/history_embeddings/history_embeddings.mojom-shared.h

// ui/webui/resources/cr_components/history_embeddings/history_embeddings.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 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;



}  // history_embeddings::mojom

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


namespace history_embeddings::mojom {


enum class UserFeedback : int32_t {};

 std::ostream& operator<<(std::ostream& os, UserFeedback value);
inline bool IsKnownEnumValue(UserFeedback value) {}
// Interface base classes. They are used for type safety check.
class PageHandlerInterfaceBase {};

PageHandlerPtrDataView;
PageHandlerRequestDataView;
PageHandlerAssociatedPtrInfoDataView;
PageHandlerAssociatedRequestDataView;
class PageInterfaceBase {};

PagePtrDataView;
PageRequestDataView;
PageAssociatedPtrInfoDataView;
PageAssociatedRequestDataView;


class AnswerDataDataView {};


class SearchResultItemDataView {};


class SearchQueryDataView {};


class SearchResultDataView {};


}  // history_embeddings::mojom

namespace std {

template <>
struct hash<::history_embeddings::mojom::UserFeedback>
    : public mojo::internal::EnumHashImpl<::history_embeddings::mojom::UserFeedback> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::history_embeddings::mojom::UserFeedback, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::history_embeddings::mojom::AnswerDataDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::history_embeddings::mojom::SearchResultItemDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

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

}  // namespace internal


namespace internal {

Serializer< ::history_embeddings::mojom::SearchResultDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


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



}  // history_embeddings::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::history_embeddings::mojom::UserFeedback> {};

} // namespace perfetto

#endif  // UI_WEBUI_RESOURCES_CR_COMPONENTS_HISTORY_EMBEDDINGS_HISTORY_EMBEDDINGS_MOJOM_SHARED_H_