| Index: content/browser/speech/speech_input_dispatcher_host.cc
|
| diff --git a/content/browser/speech/speech_input_dispatcher_host.cc b/content/browser/speech/speech_input_dispatcher_host.cc
|
| index d8ec2d16140121412a4350d9c74074c26b8479ab..67d5c1c0cbed849c445d0c857333eb76cb4aa4a6 100644
|
| --- a/content/browser/speech/speech_input_dispatcher_host.cc
|
| +++ b/content/browser/speech/speech_input_dispatcher_host.cc
|
| @@ -104,9 +104,14 @@ int SpeechInputDispatcherHost::SpeechInputCallers::request_id(int id) {
|
|
|
| SpeechInputManager* SpeechInputDispatcherHost::manager_;
|
|
|
| -SpeechInputDispatcherHost::SpeechInputDispatcherHost(int render_process_id)
|
| +SpeechInputDispatcherHost::SpeechInputDispatcherHost(
|
| + int render_process_id,
|
| + net::URLRequestContextGetter* context_getter,
|
| + bool censor_results)
|
| : render_process_id_(render_process_id),
|
| - may_have_pending_requests_(false) {
|
| + may_have_pending_requests_(false),
|
| + context_getter_(context_getter),
|
| + censor_results_(censor_results) {
|
| // This is initialized by Browser. Do not add any non-trivial
|
| // initialization here, instead do it lazily when required (e.g. see the
|
| // method |manager()|) or add an Init() method.
|
| @@ -155,7 +160,9 @@ void SpeechInputDispatcherHost::OnStartRecognition(
|
| render_process_id_,
|
| params.render_view_id, params.element_rect,
|
| params.language, params.grammar,
|
| - params.origin_url);
|
| + params.origin_url,
|
| + context_getter_.get(),
|
| + censor_results_);
|
| }
|
|
|
| void SpeechInputDispatcherHost::OnCancelRecognition(int render_view_id,
|
|
|