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

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

Issue 9568002: Renamed speech input implementation from to speech_recognition_*. The namespace has been renamed fr… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased from master. Created 8 years, 9 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 f02f5b11bb0a7be9608d80f3afba7d6ea02805ae..ed47da7ae7c1395bb7e1e4fa237999c5962fe41e 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -114,7 +114,7 @@
#endif
#if defined(ENABLE_INPUT_SPEECH)
-#include "content/browser/speech/speech_input_dispatcher_host.h"
+#include "content/browser/speech/input_tag_speech_dispatcher_host.h"
#endif
#include "third_party/skia/include/core/SkBitmap.h"
@@ -493,9 +493,9 @@ void RenderProcessHostImpl::CreateMessageFilters() {
channel_->AddFilter(new PepperMessageFilter(PepperMessageFilter::RENDERER,
GetID(), resource_context));
#if defined(ENABLE_INPUT_SPEECH)
- channel_->AddFilter(new speech_input::SpeechInputDispatcherHost(
+ channel_->AddFilter(new speech::InputTagSpeechDispatcherHost(
GetID(), browser_context->GetRequestContext(),
- browser_context->GetSpeechInputPreferences(),
+ browser_context->GetSpeechRecognitionPreferences(),
content::BrowserMainLoop::GetAudioManager()));
#endif
channel_->AddFilter(new FileAPIMessageFilter(
« no previous file with comments | « content/browser/mock_content_browser_client.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698