summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_tts_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_tts_api.h')
-rw-r--r--chrome/browser/extensions/extension_tts_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_tts_api.h b/chrome/browser/extensions/extension_tts_api.h
index 226d8e5..ad436a8 100644
--- a/chrome/browser/extensions/extension_tts_api.h
+++ b/chrome/browser/extensions/extension_tts_api.h
@@ -24,7 +24,7 @@ class ExtensionTtsPlatformImpl {
// will be empty strings, and rate, pitch, and volume will be -1.0.
//
// The ExtensionTtsController will only try to speak one utterance at
- // a time. If it wants to intterupt speech, it will always call Stop
+ // a time. If it wants to interrupt speech, it will always call Stop
// before speaking again, otherwise it will wait until IsSpeaking
// returns false before calling Speak again.
virtual bool Speak(
@@ -148,7 +148,7 @@ class ExtensionTtsController {
void Stop();
// Called when an extension finishes speaking an utterance.
- void OnSpeechFinished(int request_id, std::string error_message);
+ void OnSpeechFinished(int request_id, const std::string& error_message);
// For unit testing.
void SetPlatformImpl(ExtensionTtsPlatformImpl* platform_impl);