| Index: content/browser/speech/speech_recognition_request.cc
|
| diff --git a/content/browser/speech/speech_recognition_request.cc b/content/browser/speech/speech_recognition_request.cc
|
| index 31b7f1ff45312a9d37cea9ae2e19e90f589faac7..36c28e80024aef2be4e33b8dbc49b9622fe603e8 100644
|
| --- a/content/browser/speech/speech_recognition_request.cc
|
| +++ b/content/browser/speech/speech_recognition_request.cc
|
| @@ -122,7 +122,7 @@ SpeechRecognitionRequest::~SpeechRecognitionRequest() {}
|
|
|
| void SpeechRecognitionRequest::Start(const std::string& language,
|
| const std::string& grammar,
|
| - bool censor_results,
|
| + bool filter_profanities,
|
| const std::string& hardware_info,
|
| const std::string& origin_url,
|
| const std::string& content_type) {
|
| @@ -151,7 +151,7 @@ void SpeechRecognitionRequest::Start(const std::string& language,
|
| if (!hardware_info.empty())
|
| parts.push_back("xhw=" + net::EscapeQueryParamValue(hardware_info, true));
|
| parts.push_back("maxresults=" + base::IntToString(kMaxResults));
|
| - parts.push_back(censor_results ? "pfilter=2" : "pfilter=0");
|
| + parts.push_back(filter_profanities ? "pfilter=2" : "pfilter=0");
|
|
|
| GURL url(std::string(kDefaultSpeechRecognitionUrl) + JoinString(parts, '&'));
|
|
|
|
|