Chromium Code Reviews| Index: content/browser/speech/speech_recognizer.h |
| diff --git a/content/browser/speech/speech_recognizer.h b/content/browser/speech/speech_recognizer.h |
| index e350e65f21c2e0353e7300d976030510f577473c..f2f584d4d2a1fcc132588abb3193b9d54485bc0f 100644 |
| --- a/content/browser/speech/speech_recognizer.h |
| +++ b/content/browser/speech/speech_recognizer.h |
| @@ -17,6 +17,12 @@ |
| #include "content/common/content_export.h" |
| #include "media/audio/audio_input_controller.h" |
| +class SpeechInputPreferences; |
| + |
| +namespace net { |
| +class URLRequestContextGetter; |
| +} |
| + |
| namespace speech_input { |
| // Records audio, sends recorded audio to server and translates server response |
| @@ -83,7 +89,8 @@ class CONTENT_EXPORT SpeechRecognizer |
| int caller_id, |
| const std::string& language, |
| const std::string& grammar, |
| - bool censor_results, |
| + net::URLRequestContextGetter* context_getter, |
| + SpeechInputPreferences* speech_input_prefs, |
|
Satish
2011/09/23 16:31:54
the prefs object could remain with SpeechInputMana
allanwoj
2011/09/26 13:05:15
Done.
|
| const std::string& hardware_info, |
| const std::string& origin_url); |
| virtual ~SpeechRecognizer(); |
| @@ -133,12 +140,13 @@ class CONTENT_EXPORT SpeechRecognizer |
| int caller_id_; |
| std::string language_; |
| std::string grammar_; |
| - bool censor_results_; |
| std::string hardware_info_; |
| std::string origin_url_; |
| scoped_ptr<SpeechRecognitionRequest> request_; |
| scoped_refptr<media::AudioInputController> audio_controller_; |
| + scoped_refptr<net::URLRequestContextGetter> context_getter_; |
| + scoped_refptr<SpeechInputPreferences> speech_input_prefs_; |
| AudioEncoder::Codec codec_; |
| scoped_ptr<AudioEncoder> encoder_; |
| Endpointer endpointer_; |