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

Unified Diff: content/public/common/speech_recognition_error.h

Issue 10233010: Introducing new data types and IPC messages for scripted JS speech recognition APIs (Speech CL2.0) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added also SpeechRecognitionSessionContext Created 8 years, 8 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/public/common/speech_recognition_error.h
diff --git a/content/public/common/speech_recognition_error.h b/content/public/common/speech_recognition_error.h
index 10af480d9abf18c661655175c1bb2c71ebb71e95..eddfc06588d45070603737ed1645cb45111b9ac6 100644
--- a/content/public/common/speech_recognition_error.h
+++ b/content/public/common/speech_recognition_error.h
@@ -37,13 +37,19 @@ struct CONTENT_EXPORT SpeechRecognitionError {
SpeechRecognitionErrorCode code;
SpeechAudioErrorDetails details;
+ SpeechRecognitionError()
+ : code(SPEECH_RECOGNITION_ERROR_NONE),
+ details(SPEECH_AUDIO_ERROR_DETAILS_NONE) {
+ }
SpeechRecognitionError(SpeechRecognitionErrorCode code_value)
hans 2012/04/26 16:23:25 i probably missed this before, but i believe this
Primiano Tucci (use gerrit) 2012/04/27 09:27:13 uh, right.
: code(code_value),
- details(SPEECH_AUDIO_ERROR_DETAILS_NONE) {}
+ details(SPEECH_AUDIO_ERROR_DETAILS_NONE) {
+ }
SpeechRecognitionError(SpeechRecognitionErrorCode code_value,
SpeechAudioErrorDetails details_value)
: code(code_value),
- details(details_value) {}
+ details(details_value) {
+ }
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698