summaryrefslogtreecommitdiffstats
path: root/content/browser/speech/speech_recognizer_impl_unittest.cc
diff options
context:
space:
mode:
authorprimiano@chromium.org <primiano@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-15 15:45:22 +0000
committerprimiano@chromium.org <primiano@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-15 15:45:22 +0000
commit7869c0d85c0588b9626ddc680512a0b398d5f10f (patch)
treed213ca113ea4cd45dc1483901b8177071b3f478c /content/browser/speech/speech_recognizer_impl_unittest.cc
parent93079e0c4d33bcbfa3e2c214aa3069827b1439be (diff)
downloadchromium_src-7869c0d85c0588b9626ddc680512a0b398d5f10f.zip
chromium_src-7869c0d85c0588b9626ddc680512a0b398d5f10f.tar.gz
chromium_src-7869c0d85c0588b9626ddc680512a0b398d5f10f.tar.bz2
Introducing new data types and IPC messages for scripted JS speech recognition APIs (Speech CL2.0)
Furthermore GoogleOneShotRemoteEngineConfig struct has been renamed and moved into the (more generic) SpeechRecognitionEngineConfig, that will be shared with the streaming recognition engine implementation. BUG=116954 TEST=none Review URL: https://chromiumcodereview.appspot.com/10233010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137141 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/speech/speech_recognizer_impl_unittest.cc')
-rw-r--r--content/browser/speech/speech_recognizer_impl_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/speech/speech_recognizer_impl_unittest.cc b/content/browser/speech/speech_recognizer_impl_unittest.cc
index d9658f9..efd2f2f 100644
--- a/content/browser/speech/speech_recognizer_impl_unittest.cc
+++ b/content/browser/speech/speech_recognizer_impl_unittest.cc
@@ -108,9 +108,9 @@ class SpeechRecognizerImplTest : public content::SpeechRecognitionEventListener,
error_(content::SPEECH_RECOGNITION_ERROR_NONE),
volume_(-1.0f) {
// SpeechRecognizerImpl takes ownership of sr_engine.
- GoogleOneShotRemoteEngine* sr_engine =
+ SpeechRecognitionEngine* sr_engine =
new GoogleOneShotRemoteEngine(NULL /* URLRequestContextGetter */);
- GoogleOneShotRemoteEngineConfig config;
+ SpeechRecognitionEngineConfig config;
config.audio_num_bits_per_sample =
SpeechRecognizerImpl::kNumBitsPerAudioSample;
config.audio_sample_rate = SpeechRecognizerImpl::kAudioSampleRate;