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

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

Issue 617103007: Revert of Revert of Use the new java_cpp_enum rule in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « content/public/common/speech_recognition_error.h ('k') | content/public/common/top_controls_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/speech_recognition_error_list.h
diff --git a/content/public/common/speech_recognition_error_list.h b/content/public/common/speech_recognition_error_list.h
deleted file mode 100644
index 8a9614ec190d02556240e3b83484604da7f4a26a..0000000000000000000000000000000000000000
--- a/content/public/common/speech_recognition_error_list.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// This file intentionally does not have header guards, it's included
-// inside a macro to generate enum values.
-
-#ifndef DEFINE_SPEECH_RECOGNITION_ERROR
-#error "DEFINE_SPEECH_RECOGNITION_ERROR must be defined before including this."
-#endif
-
-// There was no error.
-DEFINE_SPEECH_RECOGNITION_ERROR(NONE, 0)
-
-// The user or a script aborted speech input.
-DEFINE_SPEECH_RECOGNITION_ERROR(ABORTED, 1)
-
-// There was an error with recording audio.
-DEFINE_SPEECH_RECOGNITION_ERROR(AUDIO, 2)
-
-// There was a network error.
-DEFINE_SPEECH_RECOGNITION_ERROR(NETWORK, 3)
-
-// Not allowed for privacy or security reasons.
-DEFINE_SPEECH_RECOGNITION_ERROR(NOT_ALLOWED, 4)
-
-// No speech heard before timeout.
-DEFINE_SPEECH_RECOGNITION_ERROR(NO_SPEECH, 5)
-
-// Speech was heard, but could not be interpreted.
-DEFINE_SPEECH_RECOGNITION_ERROR(NO_MATCH, 6)
-
-// There was an error in the speech recognition grammar.
-DEFINE_SPEECH_RECOGNITION_ERROR(BAD_GRAMMAR, 7)
-
-// Reports the highest value. Update when adding a new error code.
-DEFINE_SPEECH_RECOGNITION_ERROR(LAST, 7)
-
« no previous file with comments | « content/public/common/speech_recognition_error.h ('k') | content/public/common/top_controls_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698