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

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

Issue 7989001: Remove use of default request context and fix use of speech censor flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Separate overriden methods in profile_impl.h Created 9 years, 3 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
« no previous file with comments | « content/browser/browser_context.h ('k') | content/browser/speech/speech_input_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/browser_render_process_host.cc
diff --git a/content/browser/renderer_host/browser_render_process_host.cc b/content/browser/renderer_host/browser_render_process_host.cc
index d802c315c9218bcc6a66513ac3eecf685c7c0dc1..87aa9aae31999b1613ce36efe97bf9fa76ee964d 100644
--- a/content/browser/renderer_host/browser_render_process_host.cc
+++ b/content/browser/renderer_host/browser_render_process_host.cc
@@ -381,7 +381,9 @@ void BrowserRenderProcessHost::CreateMessageFilters() {
channel_->AddFilter(new PepperFileMessageFilter(id(), browser_context()));
channel_->AddFilter(
new PepperMessageFilter(&browser_context()->GetResourceContext()));
- channel_->AddFilter(new speech_input::SpeechInputDispatcherHost(id()));
+ channel_->AddFilter(new speech_input::SpeechInputDispatcherHost(
+ id(), browser_context()->GetRequestContext(),
+ browser_context()->GetSpeechInputPreferences()));
channel_->AddFilter(
new FileSystemDispatcherHost(browser_context()->GetRequestContext(),
browser_context()->GetFileSystemContext()));
« no previous file with comments | « content/browser/browser_context.h ('k') | content/browser/speech/speech_input_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698