chromium/out/Default/gen/services/passage_embeddings/public/mojom/passage_embeddings.mojom-shared.h

// services/passage_embeddings/public/mojom/passage_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 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;



}  // passage_embeddings::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::passage_embeddings::mojom::PassageEmbeddingsLoadModelsParamsDataView> {};

template <>
struct MojomTypeTraits<::passage_embeddings::mojom::PassageEmbeddingsResultDataView> {};

}  // namespace internal
}  // namespace mojo


namespace passage_embeddings::mojom {


enum class PassagePriority : int32_t {};

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

PassageEmbedderPtrDataView;
PassageEmbedderRequestDataView;
PassageEmbedderAssociatedPtrInfoDataView;
PassageEmbedderAssociatedRequestDataView;
class PassageEmbeddingsServiceInterfaceBase {};

PassageEmbeddingsServicePtrDataView;
PassageEmbeddingsServiceRequestDataView;
PassageEmbeddingsServiceAssociatedPtrInfoDataView;
PassageEmbeddingsServiceAssociatedRequestDataView;


class PassageEmbeddingsLoadModelsParamsDataView {};


class PassageEmbeddingsResultDataView {};


}  // passage_embeddings::mojom

namespace std {

template <>
struct hash<::passage_embeddings::mojom::PassagePriority>
    : public mojo::internal::EnumHashImpl<::passage_embeddings::mojom::PassagePriority> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::passage_embeddings::mojom::PassagePriority, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::passage_embeddings::mojom::PassageEmbeddingsLoadModelsParamsDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::passage_embeddings::mojom::PassageEmbeddingsResultDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


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



}  // passage_embeddings::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::passage_embeddings::mojom::PassagePriority> {};

} // namespace perfetto

#endif  // SERVICES_PASSAGE_EMBEDDINGS_PUBLIC_MOJOM_PASSAGE_EMBEDDINGS_MOJOM_SHARED_H_