| Index: content/browser/speech/speech_recognition_dispatcher_host.cc
|
| diff --git a/content/browser/speech/speech_recognition_dispatcher_host.cc b/content/browser/speech/speech_recognition_dispatcher_host.cc
|
| index f18ad7ddfe24bea1b9c43e9b4b09b305e65e0472..856054b77246e315282f49fef36db3a1aab41adb 100644
|
| --- a/content/browser/speech/speech_recognition_dispatcher_host.cc
|
| +++ b/content/browser/speech/speech_recognition_dispatcher_host.cc
|
| @@ -52,6 +52,8 @@ bool SpeechRecognitionDispatcherHost::OnMessageReceived(
|
| OnAbortRequest)
|
| IPC_MESSAGE_HANDLER(SpeechRecognitionHostMsg_StopCaptureRequest,
|
| OnStopCaptureRequest)
|
| + IPC_MESSAGE_HANDLER(SpeechRecognitionHostMsg_AbortAllRequest,
|
| + OnAbortAllRequest)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
| return handled;
|
| @@ -173,6 +175,11 @@ void SpeechRecognitionDispatcherHost::OnAbortRequest(int render_view_id,
|
| SpeechRecognitionManager::GetInstance()->AbortSession(session_id);
|
| }
|
|
|
| +void SpeechRecognitionDispatcherHost::OnAbortAllRequest(int render_view_id) {
|
| + SpeechRecognitionManager::GetInstance()->AbortAllSessionsForRenderView(
|
| + render_process_id_, render_view_id);
|
| +}
|
| +
|
| void SpeechRecognitionDispatcherHost::OnStopCaptureRequest(
|
| int render_view_id, int request_id) {
|
| int session_id = SpeechRecognitionManager::GetInstance()->GetSession(
|
|
|