| Index: chrome/browser/speech/extension_api/tts_extension_api.cc
|
| diff --git a/chrome/browser/speech/extension_api/tts_extension_api.cc b/chrome/browser/speech/extension_api/tts_extension_api.cc
|
| index c60d7bec75de8f9c6f396a70228d3206d888e243..36549cef5770dcb053e0dab08d6021831eb63fa8 100644
|
| --- a/chrome/browser/speech/extension_api/tts_extension_api.cc
|
| +++ b/chrome/browser/speech/extension_api/tts_extension_api.cc
|
| @@ -285,28 +285,28 @@ bool TtsSpeakFunction::RunImpl() {
|
| return true;
|
| }
|
|
|
| -bool TtsStopSpeakingFunction::RunImpl() {
|
| +bool TtsStopSpeakingFunction::RunSync() {
|
| TtsController::GetInstance()->Stop();
|
| return true;
|
| }
|
|
|
| -bool TtsPauseFunction::RunImpl() {
|
| +bool TtsPauseFunction::RunSync() {
|
| TtsController::GetInstance()->Pause();
|
| return true;
|
| }
|
|
|
| -bool TtsResumeFunction::RunImpl() {
|
| +bool TtsResumeFunction::RunSync() {
|
| TtsController::GetInstance()->Resume();
|
| return true;
|
| }
|
|
|
| -bool TtsIsSpeakingFunction::RunImpl() {
|
| +bool TtsIsSpeakingFunction::RunSync() {
|
| SetResult(base::Value::CreateBooleanValue(
|
| TtsController::GetInstance()->IsSpeaking()));
|
| return true;
|
| }
|
|
|
| -bool TtsGetVoicesFunction::RunImpl() {
|
| +bool TtsGetVoicesFunction::RunSync() {
|
| std::vector<VoiceData> voices;
|
| TtsController::GetInstance()->GetVoices(GetProfile(), &voices);
|
|
|
|
|