#include "services/passage_embeddings/public/mojom/passage_embeddings.mojom-shared.h"
#include <ostream>
#include <utility>
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "services/passage_embeddings/public/mojom/passage_embeddings.mojom-params-data.h"
namespace passage_embeddings {
namespace mojom {
NOINLINE static const char* PassagePriorityToStringHelper(PassagePriority value) { … }
std::string PassagePriorityToString(PassagePriority value) { … }
std::ostream& operator<<(std::ostream& os, PassagePriority value) { … }
namespace internal {
bool PassageEmbeddingsLoadModelsParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PassageEmbeddingsLoadModelsParams_Data::PassageEmbeddingsLoadModelsParams_Data()
: … { … }
bool PassageEmbeddingsResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PassageEmbeddingsResult_Data::PassageEmbeddingsResult_Data()
: … { … }
bool PassageEmbedder_GenerateEmbeddings_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PassageEmbedder_GenerateEmbeddings_Params_Data::PassageEmbedder_GenerateEmbeddings_Params_Data()
: … { … }
bool PassageEmbedder_GenerateEmbeddings_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PassageEmbedder_GenerateEmbeddings_ResponseParams_Data::PassageEmbedder_GenerateEmbeddings_ResponseParams_Data()
: … { … }
bool PassageEmbeddingsService_LoadModels_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PassageEmbeddingsService_LoadModels_Params_Data::PassageEmbeddingsService_LoadModels_Params_Data()
: … { … }
bool PassageEmbeddingsService_LoadModels_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PassageEmbeddingsService_LoadModels_ResponseParams_Data::PassageEmbeddingsService_LoadModels_ResponseParams_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::passage_embeddings::mojom::PassagePriority>::WriteIntoTrace(
perfetto::TracedValue context, ::passage_embeddings::mojom::PassagePriority value) { … }
}