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 SpeechRecognitionSessionConfig(); | |
21 ~SpeechRecognitionSessionConfig(); | |
22 | |
23 std::string language; | |
24 std::string grammar; | |
25 std::string origin_url; | |
26 bool filter_profanities; | |
27 SpeechRecognitionSessionContext initial_context; | |
28 net::URLRequestContextGetter* url_request_context_getter; | |
jam
2012/04/24 15:56:32
nit: why not hold this in scoped_refcounted?
Primiano Tucci (use gerrit)
2012/04/25 11:30:03
Ah, didn't noted that it is refcounted. But this w
jam
2012/04/25 15:14:08
yeah there are no issues with including other .h f
Primiano Tucci (use gerrit)
2012/04/25 16:55:48
Done.
| |
29 }; | |
30 | |
31 } // namespace content | |
32 | |
33 #endif // CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_SESSION_CONFIG_H_ | |
OLD | NEW |