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_PUBLIC_COMMON_SPEECH_RECOGNITION_GRAMMAR_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_GRAMMAR_H_ |
6 #define CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_GRAMMAR_H_ | 6 #define CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_GRAMMAR_H_ |
7 #pragma once | |
8 | 7 |
9 #include <vector> | 8 #include <vector> |
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 | 12 |
14 namespace content { | 13 namespace content { |
15 | 14 |
16 struct CONTENT_EXPORT SpeechRecognitionGrammar { | 15 struct CONTENT_EXPORT SpeechRecognitionGrammar { |
17 SpeechRecognitionGrammar() | 16 SpeechRecognitionGrammar() |
(...skipping 10 matching lines...) Expand all Loading... |
28 | 27 |
29 std::string url; | 28 std::string url; |
30 double weight; | 29 double weight; |
31 }; | 30 }; |
32 | 31 |
33 typedef std::vector<SpeechRecognitionGrammar> SpeechRecognitionGrammarArray; | 32 typedef std::vector<SpeechRecognitionGrammar> SpeechRecognitionGrammarArray; |
34 | 33 |
35 } // namespace content | 34 } // namespace content |
36 | 35 |
37 #endif // CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_GRAMMAR_H_ | 36 #endif // CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_GRAMMAR_H_ |
OLD | NEW |