#include "third_party/blink/public/mojom/ai/ai_rewriter.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_rewriter.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* AIRewriterToneToStringHelper(AIRewriterTone value) { … }
std::string AIRewriterToneToString(AIRewriterTone value) { … }
std::ostream& operator<<(std::ostream& os, AIRewriterTone value) { … }
NOINLINE static const char* AIRewriterLengthToStringHelper(AIRewriterLength value) { … }
std::string AIRewriterLengthToString(AIRewriterLength value) { … }
std::ostream& operator<<(std::ostream& os, AIRewriterLength value) { … }
namespace internal {
bool AIRewriter_Rewrite_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AIRewriter_Rewrite_Params_Data::AIRewriter_Rewrite_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::AIRewriterTone>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::AIRewriterTone value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::AIRewriterLength>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::AIRewriterLength value) { … }
}