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

Side by Side Diff: content/public/common/speech_recognition_error.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_ERROR_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_ERROR_H_
6 #define CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_ERROR_H_ 6 #define CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_ERROR_H_
7 #pragma once
8 7
9 namespace content { 8 namespace content {
10 9
11 // This enumeration follows the values described here: 10 // This enumeration follows the values described here:
12 // http://www.w3.org/2005/Incubator/htmlspeech/2010/10/google-api-draft.html#spe ech-input-error 11 // http://www.w3.org/2005/Incubator/htmlspeech/2010/10/google-api-draft.html#spe ech-input-error
13 enum SpeechRecognitionErrorCode { 12 enum SpeechRecognitionErrorCode {
14 // There was no error. 13 // There was no error.
15 SPEECH_RECOGNITION_ERROR_NONE = 0, 14 SPEECH_RECOGNITION_ERROR_NONE = 0,
16 // The user or a script aborted speech input. 15 // The user or a script aborted speech input.
17 SPEECH_RECOGNITION_ERROR_ABORTED, 16 SPEECH_RECOGNITION_ERROR_ABORTED,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 SpeechRecognitionError(SpeechRecognitionErrorCode code_value, 48 SpeechRecognitionError(SpeechRecognitionErrorCode code_value,
50 SpeechAudioErrorDetails details_value) 49 SpeechAudioErrorDetails details_value)
51 : code(code_value), 50 : code(code_value),
52 details(details_value) { 51 details(details_value) {
53 } 52 }
54 }; 53 };
55 54
56 } // namespace content 55 } // namespace content
57 56
58 #endif // CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_ERROR_H_ 57 #endif // CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_ERROR_H_
OLDNEW
« no previous file with comments | « content/public/common/show_desktop_notification_params.h ('k') | content/public/common/speech_recognition_grammar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698