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

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

Issue 137853010: Speech recognition: Fixing erroneous DCHECK usage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed review comments Created 6 years, 11 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 54d970906daa929349ff17e828258e4cd11c6cc1..95da469a4350f0b9700450731994313d26cdf830 100644
--- a/content/browser/speech/speech_recognizer_impl_unittest.cc
+++ b/content/browser/speech/speech_recognizer_impl_unittest.cc
@@ -54,9 +54,8 @@ class SpeechRecognizerImplTest : public SpeechRecognitionEventListener,
sr_engine->SetConfig(config);
const int kTestingSessionId = 1;
- const bool kOneShotMode = true;
recognizer_ = new SpeechRecognizerImpl(
- this, kTestingSessionId, kOneShotMode, sr_engine);
+ this, kTestingSessionId, false, false, sr_engine);
audio_manager_.reset(new media::MockAudioManager(
base::MessageLoop::current()->message_loop_proxy().get()));
recognizer_->SetAudioManagerForTesting(audio_manager_.get());
« 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