diff options
author | leandrogracia@chromium.org <leandrogracia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-08 11:04:59 +0000 |
---|---|---|
committer | leandrogracia@chromium.org <leandrogracia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-08 11:04:59 +0000 |
commit | 9af487d4c521414c9f006ae342d3b9974f5a6bed (patch) | |
tree | e6be4ee402e4638f38330f7ef64cda5799082728 /content/browser/speech/speech_recognizer.cc | |
parent | 36c4a17155a08f8ca36bbc7760ecfc97c6a348db (diff) | |
download | chromium_src-9af487d4c521414c9f006ae342d3b9974f5a6bed.zip chromium_src-9af487d4c521414c9f006ae342d3b9974f5a6bed.tar.gz chromium_src-9af487d4c521414c9f006ae342d3b9974f5a6bed.tar.bz2 |
Fixing misleading name in a speech input setting and related variables.
This patch replaces all occurrences of 'censor results' with 'filter profanities', which is a much accurate description of what it does and avoids unfortunate confusions.
BUG=79991
TEST=none
Review URL: http://codereview.chromium.org/8199010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104653 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/speech/speech_recognizer.cc')
-rw-r--r-- | content/browser/speech/speech_recognizer.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/browser/speech/speech_recognizer.cc b/content/browser/speech/speech_recognizer.cc index f81128c..a54c10f 100644 --- a/content/browser/speech/speech_recognizer.cc +++ b/content/browser/speech/speech_recognizer.cc @@ -58,14 +58,14 @@ SpeechRecognizer::SpeechRecognizer(Delegate* delegate, const std::string& language, const std::string& grammar, net::URLRequestContextGetter* context_getter, - bool censor_results, + bool filter_profanities, const std::string& hardware_info, const std::string& origin_url) : delegate_(delegate), caller_id_(caller_id), language_(language), grammar_(grammar), - censor_results_(censor_results), + filter_profanities_(filter_profanities), hardware_info_(hardware_info), origin_url_(origin_url), context_getter_(context_getter), @@ -228,7 +228,7 @@ void SpeechRecognizer::HandleOnData(string* data) { // server to send the data and inform the delegate. delegate_->DidStartReceivingAudio(caller_id_); request_.reset(new SpeechRecognitionRequest(context_getter_.get(), this)); - request_->Start(language_, grammar_, censor_results_, + request_->Start(language_, grammar_, filter_profanities_, hardware_info_, origin_url_, encoder_->mime_type()); } |