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

Unified Diff: content/browser/speech/speech_recognizer_impl.h

Issue 137853010: Speech recognition: Fixing erroneous DCHECK usage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: content/browser/speech/speech_recognizer_impl.h
diff --git a/content/browser/speech/speech_recognizer_impl.h b/content/browser/speech/speech_recognizer_impl.h
index c2abb339e6526f1a9c786b1dfaa99db4ac03e364..7bacd1973b7ac4d05a1a23548074d08c19de06d1 100644
--- a/content/browser/speech/speech_recognizer_impl.h
+++ b/content/browser/speech/speech_recognizer_impl.h
@@ -41,7 +41,8 @@ class CONTENT_EXPORT SpeechRecognizerImpl
SpeechRecognizerImpl(SpeechRecognitionEventListener* listener,
int session_id,
- bool is_single_shot,
+ bool continuous,
+ bool provisional_results,
SpeechRecognitionEngine* engine);
virtual void StartRecognition(const std::string& device_id) OVERRIDE;
@@ -146,7 +147,7 @@ class CONTENT_EXPORT SpeechRecognizerImpl
int num_samples_recorded_;
float audio_level_;
bool is_dispatching_event_;
- bool is_single_shot_;
+ bool provisional_results_;
FSMState state_;
std::string device_id_;

Powered by Google App Engine
This is Rietveld 408576698