OLD | NEW |
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_BROWSER_SPEECH_SPEECH_RECOGNITION_ENGINE_H_ | 5 #ifndef CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_ENGINE_H_ |
6 #define CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_ENGINE_H_ | 6 #define CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_ENGINE_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
13 #include "content/public/common/speech_recognition_grammar.h" | 12 #include "content/public/common/speech_recognition_grammar.h" |
14 | 13 |
15 namespace content { | 14 namespace content { |
16 struct SpeechRecognitionResult; | 15 struct SpeechRecognitionResult; |
17 struct SpeechRecognitionError; | 16 struct SpeechRecognitionError; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 | 104 |
106 // These typedefs are to workaround the issue with certain versions of | 105 // These typedefs are to workaround the issue with certain versions of |
107 // Visual Studio where it gets confused between multiple Delegate | 106 // Visual Studio where it gets confused between multiple Delegate |
108 // classes and gives a C2500 error. | 107 // classes and gives a C2500 error. |
109 typedef SpeechRecognitionEngine::Delegate SpeechRecognitionEngineDelegate; | 108 typedef SpeechRecognitionEngine::Delegate SpeechRecognitionEngineDelegate; |
110 typedef SpeechRecognitionEngine::Config SpeechRecognitionEngineConfig; | 109 typedef SpeechRecognitionEngine::Config SpeechRecognitionEngineConfig; |
111 | 110 |
112 } // namespace speech | 111 } // namespace speech |
113 | 112 |
114 #endif // CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_ENGINE_H_ | 113 #endif // CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_ENGINE_H_ |
OLD | NEW |