#ifndef SERVICES_PASSAGE_EMBEDDINGS_PUBLIC_MOJOM_PASSAGE_EMBEDDINGS_MOJOM_SHARED_H_
#define SERVICES_PASSAGE_EMBEDDINGS_PUBLIC_MOJOM_PASSAGE_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 "services/passage_embeddings/public/mojom/passage_embeddings.mojom-shared-internal.h"
#include "mojo/public/mojom/base/read_only_file.mojom-shared.h"
#include "sandbox/policy/mojom/context.mojom-shared.h"
#include "sandbox/policy/mojom/sandbox.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"
namespace passage_embeddings::mojom {
class PassageEmbeddingsLoadModelsParamsDataView;
class PassageEmbeddingsResultDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::passage_embeddings::mojom::PassageEmbeddingsLoadModelsParamsDataView> { … };
template <>
struct MojomTypeTraits<::passage_embeddings::mojom::PassageEmbeddingsResultDataView> { … };
}
}
namespace passage_embeddings::mojom {
enum class PassagePriority : int32_t { … };
std::ostream& operator<<(std::ostream& os, PassagePriority value);
inline bool IsKnownEnumValue(PassagePriority value) { … }
class PassageEmbedderInterfaceBase { … };
PassageEmbedderPtrDataView;
PassageEmbedderRequestDataView;
PassageEmbedderAssociatedPtrInfoDataView;
PassageEmbedderAssociatedRequestDataView;
class PassageEmbeddingsServiceInterfaceBase { … };
PassageEmbeddingsServicePtrDataView;
PassageEmbeddingsServiceRequestDataView;
PassageEmbeddingsServiceAssociatedPtrInfoDataView;
PassageEmbeddingsServiceAssociatedRequestDataView;
class PassageEmbeddingsLoadModelsParamsDataView { … };
class PassageEmbeddingsResultDataView { … };
}
namespace std {
template <>
struct hash<::passage_embeddings::mojom::PassagePriority>
: public mojo::internal::EnumHashImpl<::passage_embeddings::mojom::PassagePriority> { … };
}
namespace mojo {
namespace internal {
Serializer< ::passage_embeddings::mojom::PassagePriority, MaybeConstUserType>;
}
namespace internal {
Serializer< ::passage_embeddings::mojom::PassageEmbeddingsLoadModelsParamsDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::passage_embeddings::mojom::PassageEmbeddingsResultDataView, MaybeConstUserType>;
}
}
namespace passage_embeddings::mojom {
inline void PassageEmbeddingsLoadModelsParamsDataView::GetEmbeddingsModelDataView(
::mojo_base::mojom::ReadOnlyFileDataView* output) { … }
inline void PassageEmbeddingsLoadModelsParamsDataView::GetSpModelDataView(
::mojo_base::mojom::ReadOnlyFileDataView* output) { … }
inline void PassageEmbeddingsResultDataView::GetEmbeddingsDataView(
mojo::ArrayDataView<float>* output) { … }
inline void PassageEmbeddingsResultDataView::GetPassageDataView(
mojo::StringDataView* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::passage_embeddings::mojom::PassagePriority> { … };
}
#endif