#include "third_party/blink/public/mojom/ai/ai_summarizer.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_summarizer.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* AISummarizerTypeToStringHelper(AISummarizerType value) { … }
std::string AISummarizerTypeToString(AISummarizerType value) { … }
std::ostream& operator<<(std::ostream& os, AISummarizerType value) { … }
NOINLINE static const char* AISummarizerFormatToStringHelper(AISummarizerFormat value) { … }
std::string AISummarizerFormatToString(AISummarizerFormat value) { … }
std::ostream& operator<<(std::ostream& os, AISummarizerFormat value) { … }
NOINLINE static const char* AISummarizerLengthToStringHelper(AISummarizerLength value) { … }
std::string AISummarizerLengthToString(AISummarizerLength value) { … }
std::ostream& operator<<(std::ostream& os, AISummarizerLength value) { … }
namespace internal {
bool AISummarizerOptions_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AISummarizerOptions_Data::AISummarizerOptions_Data()
: … { … }
bool AISummarizer_Summarize_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AISummarizer_Summarize_Params_Data::AISummarizer_Summarize_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::AISummarizerType>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::AISummarizerType value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::AISummarizerFormat>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::AISummarizerFormat value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::AISummarizerLength>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::AISummarizerLength value) { … }
}