| Index: content/browser/speech/speech_input_manager.cc
|
| diff --git a/content/browser/speech/speech_input_manager.cc b/content/browser/speech/speech_input_manager.cc
|
| index c247bb6f752a110df4efacd9bbc461c38fb911c4..ef4a5918ca9289a801ab92a16a93e195a0dcfbfa 100644
|
| --- a/content/browser/speech/speech_input_manager.cc
|
| +++ b/content/browser/speech/speech_input_manager.cc
|
| @@ -11,7 +11,6 @@ namespace speech_input {
|
|
|
| SpeechInputManager::SpeechInputManager()
|
| : can_report_metrics_(false),
|
| - censor_results_(true),
|
| recording_caller_id_(0) {
|
| }
|
|
|
| @@ -52,7 +51,9 @@ void SpeechInputManager::StartRecognition(
|
| const gfx::Rect& element_rect,
|
| const std::string& language,
|
| const std::string& grammar,
|
| - const std::string& origin_url) {
|
| + const std::string& origin_url,
|
| + net::URLRequestContextGetter* context_getter,
|
| + SpeechInputPreferences* speech_input_prefs) {
|
| DCHECK(!HasPendingRequest(caller_id));
|
|
|
| ShowRecognitionRequested(
|
| @@ -62,7 +63,7 @@ void SpeechInputManager::StartRecognition(
|
| SpeechInputRequest* request = &requests_[caller_id];
|
| request->delegate = delegate;
|
| request->recognizer = new SpeechRecognizer(
|
| - this, caller_id, language, grammar, censor_results(),
|
| + this, caller_id, language, grammar, context_getter, speech_input_prefs,
|
| request_info_, can_report_metrics_ ? origin_url : "");
|
| request->is_active = false;
|
|
|
|
|