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(); |