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
3 // found in the LICENSE file.
5 #ifndef CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_GRAMMAR_H_
6 #define CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_GRAMMAR_H_
10 #include "base/basictypes.h"
11 #include "content/common/content_export.h"
15 struct CONTENT_EXPORT SpeechRecognitionGrammar
{
16 SpeechRecognitionGrammar()
19 explicit SpeechRecognitionGrammar(const std::string
& url_value
)
23 SpeechRecognitionGrammar(const std::string
& url_value
, double weight_value
)
25 weight(weight_value
) {
32 typedef std::vector
<SpeechRecognitionGrammar
> SpeechRecognitionGrammarArray
;
34 } // namespace content
36 #endif // CONTENT_PUBLIC_COMMON_SPEECH_RECOGNITION_GRAMMAR_H_