Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(731)

Unified Diff: chrome/browser/speech/extension_api/tts_extension_api.cc

Issue 252653002: Rename (Chrome)SyncExtensionFunction::RunImpl to RunSync so that the RunImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bookmarks Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/speech/extension_api/tts_extension_api.h ('k') | extensions/browser/api/test/test_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « chrome/browser/speech/extension_api/tts_extension_api.h ('k') | extensions/browser/api/test/test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698