#include "chrome/common/extensions/api/speech/tts_engine_manifest_handler.h"
#include <stddef.h>
#include <memory>
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "extensions/common/error_utils.h"
#include "extensions/common/manifest.h"
#include "extensions/common/manifest_constants.h"
#include "media/base/limits.h"
#include "ui/base/l10n/l10n_util.h"
namespace extensions {
keys;
errors;
TtsVoice::TtsVoice() : … { … }
TtsVoice::TtsVoice(const TtsVoice& other) = default;
TtsVoice::~TtsVoice() = default;
TtsVoices::TtsVoices() = default;
TtsVoices::~TtsVoices() = default;
bool TtsVoices::Parse(const base::Value::List& tts_voices,
TtsVoices* out_voices,
std::u16string* error,
Extension* extension) { … }
const std::vector<TtsVoice>* TtsVoices::GetTtsVoices(
const Extension* extension) { … }
const TtsVoices* TtsVoices::GetTtsEngineInfo(const Extension* extension) { … }
TtsEngineManifestHandler::TtsEngineManifestHandler() = default;
TtsEngineManifestHandler::~TtsEngineManifestHandler() = default;
bool TtsEngineManifestHandler::Parse(Extension* extension,
std::u16string* error) { … }
base::span<const char* const> TtsEngineManifestHandler::Keys() const { … }
}