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

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

Issue 10933018: Speech JavaScript API: Use the MediaStreamManager to ask for user permission. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 b8bce01617ad21a4b9fe915ab9235a1094f513fa..fa71ebab641579adbcca71148ad0ffed73970377 100644
--- a/content/public/common/speech_recognition_error.h
+++ b/content/public/common/speech_recognition_error.h
@@ -16,6 +16,8 @@ enum SpeechRecognitionErrorCode {
SPEECH_RECOGNITION_ERROR_AUDIO,
// There was a network error.
SPEECH_RECOGNITION_ERROR_NETWORK,
+ // Not allowed for privacy or security reasons.
+ SPEECH_RECOGNITION_ERROR_NOT_ALLOWED,
Satish 2012/09/12 06:15:09 I don't have a strong preference here, but this co
hans 2012/09/12 09:46:58 I'd like to go with NOT_ALLOWED for now, but I don
// No speech heard before timeout.
SPEECH_RECOGNITION_ERROR_NO_SPEECH,
// Speech was heard, but could not be interpreted.

Powered by Google App Engine
This is Rietveld 408576698