OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 #ifndef CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_SESSION_CONFIG_H_ | |
6 #define CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_SESSION_CONFIG_H_ | |
7 | |
8 #include "base/basictypes.h" | |
9 #include "content/common/content_export.h" | |
10 #include "content/public/browser/speech_recognition_session_context.h" | |
11 | |
12 namespace net { | |
13 class URLRequestContextGetter; | |
14 } | |
15 | |
16 namespace content { | |
17 | |
18 // Configuration params for creating a new speech recognition session. | |
19 struct CONTENT_EXPORT SpeechRecognitionSessionConfig { | |
20 std::string language; | |
21 std::string grammar; | |
22 std::string origin_url; | |
23 bool filter_profanities; | |
24 SpeechRecognitionSessionContext initial_context; | |
25 net::URLRequestContextGetter* url_request_context_getter; | |
26 | |
27 SpeechRecognitionSessionConfig(); | |
Satish
2012/04/24 08:51:32
Move these to the first line of the struct declara
Primiano Tucci (use gerrit)
2012/04/24 09:28:39
Done.
| |
28 ~SpeechRecognitionSessionConfig(); | |
29 }; | |
30 | |
31 } // namespace content | |
32 | |
33 #endif // CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_SESSION_CONFIG_H_ | |
OLD | NEW |