Chromium Code Reviews| Index: content/browser/speech/speech_input_dispatcher_host.h |
| diff --git a/content/browser/speech/speech_input_dispatcher_host.h b/content/browser/speech/speech_input_dispatcher_host.h |
| index a56660f6d69dc89c4b370780e524ae831ecf6632..49943e6cb9e73999406c315add8628e6006478e9 100644 |
| --- a/content/browser/speech/speech_input_dispatcher_host.h |
| +++ b/content/browser/speech/speech_input_dispatcher_host.h |
| @@ -8,6 +8,7 @@ |
| #include "base/memory/scoped_ptr.h" |
| #include "content/browser/browser_message_filter.h" |
| #include "content/browser/speech/speech_input_manager.h" |
| +#include "net/url_request/url_request_context_getter.h" |
| struct SpeechInputHostMsg_StartRecognition_Params; |
| @@ -21,7 +22,10 @@ class SpeechInputDispatcherHost : public BrowserMessageFilter, |
| public: |
| class SpeechInputCallers; |
| - explicit SpeechInputDispatcherHost(int render_process_id); |
| + explicit SpeechInputDispatcherHost( |
|
Satish
2011/09/23 09:44:57
remove 'explicit' since you have more than 1 param
allanwoj
2011/09/23 14:12:44
Done.
|
| + int render_process_id, |
| + net::URLRequestContextGetter* context_getter, |
| + bool censor_results); |
| // SpeechInputManager::Delegate methods. |
| virtual void SetRecognitionResult(int caller_id, |
| @@ -53,6 +57,9 @@ class SpeechInputDispatcherHost : public BrowserMessageFilter, |
| int render_process_id_; |
| bool may_have_pending_requests_; // Set if we received any speech IPC request |
| + scoped_refptr<net::URLRequestContextGetter> context_getter_; |
| + bool censor_results_; |
| + |
| static SpeechInputManager* manager_; |
| DISALLOW_COPY_AND_ASSIGN(SpeechInputDispatcherHost); |