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

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

Issue 9663066: Refactoring of chrome speech recognition architecture (CL1.3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed compilation issues on windows. Created 8 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
Index: content/public/common/speech_recognition_result.h
diff --git a/content/public/common/speech_recognition_result.h b/content/public/common/speech_recognition_result.h
index e5efe5ba9a6362305ec38727aa80a3e752b40d51..3354f2cf36042f161c454a515d333849c562c510 100644
--- a/content/public/common/speech_recognition_result.h
+++ b/content/public/common/speech_recognition_result.h
@@ -29,27 +29,7 @@ struct SpeechRecognitionHypothesis {
typedef std::vector<SpeechRecognitionHypothesis>
SpeechRecognitionHypothesisArray;
-// This enumeration follows the values described here:
-// http://www.w3.org/2005/Incubator/htmlspeech/2010/10/google-api-draft.html#speech-input-error
-enum SpeechRecognitionErrorCode {
- // There was no error.
- SPEECH_RECOGNITION_ERROR_NONE = 0,
- // The user or a script aborted speech input.
- SPEECH_RECOGNITION_ERROR_ABORTED,
- // There was an error with recording audio.
- SPEECH_RECOGNITION_ERROR_AUDIO,
- // There was a network error.
- SPEECH_RECOGNITION_ERROR_NETWORK,
- // No speech heard before timeout.
- SPEECH_RECOGNITION_ERROR_NO_SPEECH,
- // Speech was heard, but could not be interpreted.
- SPEECH_RECOGNITION_ERROR_NO_MATCH,
- // There was an error in the speech recognition grammar.
- SPEECH_RECOGNITION_ERROR_BAD_GRAMMAR,
-};
-
struct CONTENT_EXPORT SpeechRecognitionResult {
- SpeechRecognitionErrorCode error;
SpeechRecognitionHypothesisArray hypotheses;
SpeechRecognitionResult();
« no previous file with comments | « content/public/common/speech_recognition_error.h ('k') | content/public/common/speech_recognition_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698