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

Unified Diff: content/browser/speech/speech_recognition_dispatcher_host.cc

Issue 142923005: Allow MessageFilters to restrict listening to specific message classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 10 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/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 5b08dd2529f2443763fd5e2a80b599d710a50d3a..fc6a69d504883b83d9f7ab1c19bd68bb7314176d 100644
--- a/content/browser/speech/speech_recognition_dispatcher_host.cc
+++ b/content/browser/speech/speech_recognition_dispatcher_host.cc
@@ -23,7 +23,8 @@ SpeechRecognitionDispatcherHost::SpeechRecognitionDispatcherHost(
bool is_guest,
int render_process_id,
net::URLRequestContextGetter* context_getter)
- : is_guest_(is_guest),
+ : BrowserMessageFilter(SpeechRecognitionMsgStart),
+ is_guest_(is_guest),
render_process_id_(render_process_id),
context_getter_(context_getter),
weak_factory_(this) {
« no previous file with comments | « content/browser/speech/input_tag_speech_dispatcher_host.cc ('k') | content/browser/tracing/trace_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698