| Index: content/browser/speech/input_tag_speech_dispatcher_host.cc
|
| ===================================================================
|
| --- content/browser/speech/input_tag_speech_dispatcher_host.cc (revision 170917)
|
| +++ content/browser/speech/input_tag_speech_dispatcher_host.cc (working copy)
|
| @@ -168,39 +168,39 @@
|
| }
|
|
|
| // -------- SpeechRecognitionEventListener interface implementation -----------
|
| -void InputTagSpeechDispatcherHost::OnRecognitionResult(
|
| +void InputTagSpeechDispatcherHost::OnRecognitionResults(
|
| int session_id,
|
| - const SpeechRecognitionResult& result) {
|
| - VLOG(1) << "InputTagSpeechDispatcherHost::OnRecognitionResult enter";
|
| + const SpeechRecognitionResults& results) {
|
| + DVLOG(1) << "InputTagSpeechDispatcherHost::OnRecognitionResults enter";
|
|
|
| const SpeechRecognitionSessionContext& context =
|
| manager()->GetSessionContext(session_id);
|
|
|
| - Send(new InputTagSpeechMsg_SetRecognitionResult(
|
| + Send(new InputTagSpeechMsg_SetRecognitionResults(
|
| context.render_view_id,
|
| context.request_id,
|
| - result));
|
| - VLOG(1) << "InputTagSpeechDispatcherHost::OnRecognitionResult exit";
|
| + results));
|
| + DVLOG(1) << "InputTagSpeechDispatcherHost::OnRecognitionResults exit";
|
| }
|
|
|
| void InputTagSpeechDispatcherHost::OnAudioEnd(int session_id) {
|
| - VLOG(1) << "InputTagSpeechDispatcherHost::OnAudioEnd enter";
|
| + DVLOG(1) << "InputTagSpeechDispatcherHost::OnAudioEnd enter";
|
|
|
| const SpeechRecognitionSessionContext& context =
|
| manager()->GetSessionContext(session_id);
|
|
|
| Send(new InputTagSpeechMsg_RecordingComplete(context.render_view_id,
|
| context.request_id));
|
| - VLOG(1) << "InputTagSpeechDispatcherHost::OnAudioEnd exit";
|
| + DVLOG(1) << "InputTagSpeechDispatcherHost::OnAudioEnd exit";
|
| }
|
|
|
| void InputTagSpeechDispatcherHost::OnRecognitionEnd(int session_id) {
|
| - VLOG(1) << "InputTagSpeechDispatcherHost::OnRecognitionEnd enter";
|
| + DVLOG(1) << "InputTagSpeechDispatcherHost::OnRecognitionEnd enter";
|
| const SpeechRecognitionSessionContext& context =
|
| manager()->GetSessionContext(session_id);
|
| Send(new InputTagSpeechMsg_RecognitionComplete(context.render_view_id,
|
| context.request_id));
|
| - VLOG(1) << "InputTagSpeechDispatcherHost::OnRecognitionEnd exit";
|
| + DVLOG(1) << "InputTagSpeechDispatcherHost::OnRecognitionEnd exit";
|
| }
|
|
|
| // The events below are currently not used by x-webkit-speech implementation.
|
|
|