| Index: chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc
|
| diff --git a/chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc b/chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc
|
| index bed4937db5e5cfb44a80a2c63e2f473a5d50ae18..e18c594496acca0debc09248641d16abede3450a 100644
|
| --- a/chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc
|
| +++ b/chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc
|
| @@ -29,7 +29,8 @@ struct TtsVoices : public Extension::ManifestData {
|
|
|
| } // namespace
|
|
|
| -TtsVoice::TtsVoice() {}
|
| +TtsVoice::TtsVoice() : remote(false) {}
|
| +
|
| TtsVoice::~TtsVoice() {}
|
|
|
| // static
|
| @@ -95,6 +96,13 @@ bool TtsEngineManifestHandler::Parse(Extension* extension, string16* error) {
|
| return false;
|
| }
|
| }
|
| + if (one_tts_voice->HasKey(keys::kTtsVoicesRemote)) {
|
| + if (!one_tts_voice->GetBoolean(
|
| + keys::kTtsVoicesRemote, &voice_data.remote)) {
|
| + *error = ASCIIToUTF16(errors::kInvalidTtsVoicesRemote);
|
| + return false;
|
| + }
|
| + }
|
| if (one_tts_voice->HasKey(keys::kTtsVoicesEventTypes)) {
|
| const base::ListValue* event_types_list;
|
| if (!one_tts_voice->GetList(
|
|
|