Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(499)

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 10273006: Introduced SpeechRecognitionDispatcher(Host) classes, handling dispatch of IPC messages for continu… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index b1f75ddc1fd625c9a85e247df696872e78a1c597..505472ba8518ef3d5d5964398179b97c0b18ca8d 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -78,6 +78,7 @@
#include "content/browser/renderer_host/socket_stream_dispatcher_host.h"
#include "content/browser/renderer_host/text_input_client_message_filter.h"
#include "content/browser/resolve_proxy_msg_helper.h"
+#include "content/browser/speech/speech_recognition_dispatcher_host.h"
#include "content/browser/trace_message_filter.h"
#include "content/browser/worker_host/worker_message_filter.h"
#include "content/common/child_process_host_impl.h"
@@ -503,6 +504,10 @@ void RenderProcessHostImpl::CreateMessageFilters() {
GetID(), browser_context->GetRequestContext(),
browser_context->GetSpeechRecognitionPreferences()));
#endif
+ channel_->AddFilter(new speech::SpeechRecognitionDispatcherHost(
+ GetID(),
+ browser_context->GetRequestContext(),
+ browser_context->GetSpeechRecognitionPreferences()));
channel_->AddFilter(new FileAPIMessageFilter(
GetID(),
browser_context->GetRequestContext(),

Powered by Google App Engine
This is Rietveld 408576698