diff options
author | satish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-27 11:18:17 +0000 |
---|---|---|
committer | satish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-27 11:18:17 +0000 |
commit | b3bcb8f6338da8a8deeea9f349205d81a5bc8ef3 (patch) | |
tree | 1c84987b9faafd958983d4ce108c21f7ac41043e /content/browser/speech | |
parent | 80ea2b5ffd514de5507ed9df550cbb6c57e4e94b (diff) | |
download | chromium_src-b3bcb8f6338da8a8deeea9f349205d81a5bc8ef3.zip chromium_src-b3bcb8f6338da8a8deeea9f349205d81a5bc8ef3.tar.gz chromium_src-b3bcb8f6338da8a8deeea9f349205d81a5bc8ef3.tar.bz2 |
Enable visible profanity filter for speech input and correct a mistake in the volume meter image.
BUG=none
TEST=manual, test speech input with some profanity and verify that the censored words have all but the first letter shown as '*'
Review URL: http://codereview.chromium.org/6901050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83140 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/speech')
-rw-r--r-- | content/browser/speech/speech_recognition_request.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/browser/speech/speech_recognition_request.cc b/content/browser/speech/speech_recognition_request.cc index 19d8204..6a4559f 100644 --- a/content/browser/speech/speech_recognition_request.cc +++ b/content/browser/speech/speech_recognition_request.cc @@ -20,7 +20,8 @@ namespace { const char* const kDefaultSpeechRecognitionUrl = - "https://www.google.com/speech-api/v1/recognize?xjerr=1&client=chromium&"; + "https://www.google.com/speech-api/v1/recognize?xjerr=1&client=chromium&" + "pfilter=2&"; const char* const kHypothesesString = "hypotheses"; const char* const kUtteranceString = "utterance"; const char* const kConfidenceString = "confidence"; |