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

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

Issue 2785463005: Removing AudioSystem::GetAudioManager() usage from speech recognition (Closed)
Patch Set: Created 3 years, 9 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_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/speech/speech_recognizer_impl_unittest.cc
diff --git a/content/browser/speech/speech_recognizer_impl_unittest.cc b/content/browser/speech/speech_recognizer_impl_unittest.cc
index b40ba1958457933e0b63933b48024239a3fe4739..5884c7bd472baed5157aa8106fb6588a87ab575a 100644
--- a/content/browser/speech/speech_recognizer_impl_unittest.cc
+++ b/content/browser/speech/speech_recognizer_impl_unittest.cc
@@ -72,7 +72,8 @@ class SpeechRecognizerImplTest : public SpeechRecognitionEventListener,
media::AudioParameters::UnavailableDeviceParams());
audio_system_ = media::AudioSystemImpl::Create(audio_manager_.get());
recognizer_ = new SpeechRecognizerImpl(
- this, audio_system_.get(), kTestingSessionId, false, false, sr_engine);
+ this, audio_system_.get(), audio_manager_.get(), kTestingSessionId,
+ false, false, sr_engine);
int audio_packet_length_bytes =
(SpeechRecognizerImpl::kAudioSampleRate *
« no previous file with comments | « content/browser/speech/speech_recognizer_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698