Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1391)

Unified Diff: content/browser/speech/speech_recognizer.cc

Issue 8199010: Fixing misleading name a in speech input setting and related variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fixes. Landing if no problems in the bots. Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/speech/speech_recognizer.h ('k') | content/shell/shell_browser_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/speech/speech_recognizer.cc
diff --git a/content/browser/speech/speech_recognizer.cc b/content/browser/speech/speech_recognizer.cc
index f81128c3c94867530616c3f1bbf9e4560e224226..a54c10fab4d95c85a4f94885b54782bf4e68127e 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());
}
« no previous file with comments | « content/browser/speech/speech_recognizer.h ('k') | content/shell/shell_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698