From b3bcb8f6338da8a8deeea9f349205d81a5bc8ef3 Mon Sep 17 00:00:00 2001 From: "satish@chromium.org" Date: Wed, 27 Apr 2011 11:18:17 +0000 Subject: 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 --- content/browser/speech/speech_recognition_request.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'content/browser/speech') 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"; -- cgit v1.1