Index: chrome/browser/extensions/extension_tts_api.h |
diff --git a/chrome/browser/extensions/extension_tts_api.h b/chrome/browser/extensions/extension_tts_api.h |
index 9f7da37c397b004cf18978467c8b4a7fd15d2ff2..e4674db6d68abd129abd5f3cdb7310bd5515d410 100644 |
--- a/chrome/browser/extensions/extension_tts_api.h |
+++ b/chrome/browser/extensions/extension_tts_api.h |
@@ -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); |