#include "third_party/blink/public/mojom/ai/ai_manager.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 "third_party/blink/public/mojom/ai/ai_manager.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* ModelAvailabilityCheckResultToStringHelper(ModelAvailabilityCheckResult value) { … }
std::string ModelAvailabilityCheckResultToString(ModelAvailabilityCheckResult value) { … }
std::ostream& operator<<(std::ostream& os, ModelAvailabilityCheckResult value) { … }
namespace internal {
bool AIManagerCreateWriterClient_OnResult_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AIManagerCreateWriterClient_OnResult_Params_Data::AIManagerCreateWriterClient_OnResult_Params_Data()
: … { … }
bool AIManagerCreateRewriterClient_OnResult_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AIManagerCreateRewriterClient_OnResult_Params_Data::AIManagerCreateRewriterClient_OnResult_Params_Data()
: … { … }
bool AIManagerCreateSummarizerClient_OnResult_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AIManagerCreateSummarizerClient_OnResult_Params_Data::AIManagerCreateSummarizerClient_OnResult_Params_Data()
: … { … }
bool AIManager_CanCreateTextSession_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AIManager_CanCreateTextSession_Params_Data::AIManager_CanCreateTextSession_Params_Data()
: … { … }
bool AIManager_CanCreateTextSession_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AIManager_CanCreateTextSession_ResponseParams_Data::AIManager_CanCreateTextSession_ResponseParams_Data()
: … { … }
bool AIManager_CreateTextSession_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AIManager_CreateTextSession_Params_Data::AIManager_CreateTextSession_Params_Data()
: … { … }
bool AIManager_CreateTextSession_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AIManager_CreateTextSession_ResponseParams_Data::AIManager_CreateTextSession_ResponseParams_Data()
: … { … }
bool AIManager_CanCreateSummarizer_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AIManager_CanCreateSummarizer_Params_Data::AIManager_CanCreateSummarizer_Params_Data()
: … { … }
bool AIManager_CanCreateSummarizer_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AIManager_CanCreateSummarizer_ResponseParams_Data::AIManager_CanCreateSummarizer_ResponseParams_Data()
: … { … }
bool AIManager_CreateSummarizer_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AIManager_CreateSummarizer_Params_Data::AIManager_CreateSummarizer_Params_Data()
: … { … }
bool AIManager_GetTextModelInfo_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AIManager_GetTextModelInfo_Params_Data::AIManager_GetTextModelInfo_Params_Data()
: … { … }
bool AIManager_GetTextModelInfo_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AIManager_GetTextModelInfo_ResponseParams_Data::AIManager_GetTextModelInfo_ResponseParams_Data()
: … { … }
bool AIManager_CreateWriter_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AIManager_CreateWriter_Params_Data::AIManager_CreateWriter_Params_Data()
: … { … }
bool AIManager_CreateRewriter_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AIManager_CreateRewriter_Params_Data::AIManager_CreateRewriter_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::ModelAvailabilityCheckResult>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::ModelAvailabilityCheckResult value) { … }
}