Index: content/browser/speech/input_tag_speech_dispatcher_host.h |
diff --git a/content/browser/speech/input_tag_speech_dispatcher_host.h b/content/browser/speech/input_tag_speech_dispatcher_host.h |
index d1e99e4c951e9d5e374639a7d0c4d5712c26c36e..80bd82f24b4c74fe9696757dc121d5a129f4a25d 100644 |
--- a/content/browser/speech/input_tag_speech_dispatcher_host.h |
+++ b/content/browser/speech/input_tag_speech_dispatcher_host.h |
@@ -10,6 +10,7 @@ |
#include "content/common/content_export.h" |
#include "content/public/browser/browser_message_filter.h" |
#include "content/public/browser/speech_recognition_event_listener.h" |
+#include "content/public/common/speech_recognition_result.h" |
#include "net/url_request/url_request_context_getter.h" |
struct InputTagSpeechHostMsg_StartRecognition_Params; |
@@ -18,7 +19,6 @@ namespace content { |
class SpeechRecognitionManager; |
class SpeechRecognitionPreferences; |
-struct SpeechRecognitionResult; |
// InputTagSpeechDispatcherHost is a delegate for Speech API messages used by |
// RenderMessageFilter. Basically it acts as a proxy, relaying the events coming |
@@ -41,9 +41,9 @@ class CONTENT_EXPORT InputTagSpeechDispatcherHost |
virtual void OnSoundEnd(int session_id) OVERRIDE; |
virtual void OnAudioEnd(int session_id) OVERRIDE; |
virtual void OnRecognitionEnd(int session_id) OVERRIDE; |
- virtual void OnRecognitionResult( |
+ virtual void OnRecognitionResults( |
int session_id, |
- const SpeechRecognitionResult& result) OVERRIDE; |
+ const SpeechRecognitionResults& results) OVERRIDE; |
virtual void OnRecognitionError( |
int session_id, |
const SpeechRecognitionError& error) OVERRIDE; |