#include "third_party/blink/public/mojom/speech/speech_synthesis.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/speech/speech_synthesis.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* SpeechSynthesisErrorCodeToStringHelper(SpeechSynthesisErrorCode value) { … }
std::string SpeechSynthesisErrorCodeToString(SpeechSynthesisErrorCode value) { … }
std::ostream& operator<<(std::ostream& os, SpeechSynthesisErrorCode value) { … }
namespace internal {
bool SpeechSynthesisUtterance_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechSynthesisUtterance_Data::SpeechSynthesisUtterance_Data()
: … { … }
bool SpeechSynthesisVoice_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechSynthesisVoice_Data::SpeechSynthesisVoice_Data()
: … { … }
bool SpeechSynthesisVoiceListObserver_OnSetVoiceList_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechSynthesisVoiceListObserver_OnSetVoiceList_Params_Data::SpeechSynthesisVoiceListObserver_OnSetVoiceList_Params_Data()
: … { … }
bool SpeechSynthesisClient_OnStartedSpeaking_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechSynthesisClient_OnStartedSpeaking_Params_Data::SpeechSynthesisClient_OnStartedSpeaking_Params_Data()
: … { … }
bool SpeechSynthesisClient_OnFinishedSpeaking_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechSynthesisClient_OnFinishedSpeaking_Params_Data::SpeechSynthesisClient_OnFinishedSpeaking_Params_Data()
: … { … }
bool SpeechSynthesisClient_OnPausedSpeaking_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechSynthesisClient_OnPausedSpeaking_Params_Data::SpeechSynthesisClient_OnPausedSpeaking_Params_Data()
: … { … }
bool SpeechSynthesisClient_OnResumedSpeaking_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechSynthesisClient_OnResumedSpeaking_Params_Data::SpeechSynthesisClient_OnResumedSpeaking_Params_Data()
: … { … }
bool SpeechSynthesisClient_OnEncounteredWordBoundary_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechSynthesisClient_OnEncounteredWordBoundary_Params_Data::SpeechSynthesisClient_OnEncounteredWordBoundary_Params_Data()
: … { … }
bool SpeechSynthesisClient_OnEncounteredSentenceBoundary_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechSynthesisClient_OnEncounteredSentenceBoundary_Params_Data::SpeechSynthesisClient_OnEncounteredSentenceBoundary_Params_Data()
: … { … }
bool SpeechSynthesisClient_OnEncounteredSpeakingError_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechSynthesisClient_OnEncounteredSpeakingError_Params_Data::SpeechSynthesisClient_OnEncounteredSpeakingError_Params_Data()
: … { … }
bool SpeechSynthesis_AddVoiceListObserver_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechSynthesis_AddVoiceListObserver_Params_Data::SpeechSynthesis_AddVoiceListObserver_Params_Data()
: … { … }
bool SpeechSynthesis_Speak_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechSynthesis_Speak_Params_Data::SpeechSynthesis_Speak_Params_Data()
: … { … }
bool SpeechSynthesis_Pause_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechSynthesis_Pause_Params_Data::SpeechSynthesis_Pause_Params_Data()
: … { … }
bool SpeechSynthesis_Resume_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechSynthesis_Resume_Params_Data::SpeechSynthesis_Resume_Params_Data()
: … { … }
bool SpeechSynthesis_Cancel_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechSynthesis_Cancel_Params_Data::SpeechSynthesis_Cancel_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::SpeechSynthesisErrorCode>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::SpeechSynthesisErrorCode value) { … }
}