Chromium Code Reviews| 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 #include "ui/gfx/rect.h" | |
|
Satish
2012/04/19 13:03:19
this doesn't seem required
Primiano Tucci (use gerrit)
2012/04/20 16:06:43
Done.
| |
| 12 | |
| 13 namespace net { | |
| 14 class URLRequestContextGetter; | |
| 15 } | |
| 16 | |
| 17 namespace content { | |
| 18 | |
| 19 // Configuration params for creating a new speech recognition session. | |
| 20 struct CONTENT_EXPORT SpeechRecognitionSessionConfig { | |
| 21 std::string language; | |
| 22 std::string grammar; | |
| 23 std::string origin_url; | |
| 24 bool filter_profanities; | |
| 25 SpeechRecognitionSessionContext initial_context; | |
| 26 net::URLRequestContextGetter* url_context_getter; | |
|
Satish
2012/04/19 13:03:19
url_context_getter -> url_request_context_getter
Primiano Tucci (use gerrit)
2012/04/20 16:06:43
Done.
| |
| 27 | |
| 28 SpeechRecognitionSessionConfig(); | |
| 29 ~SpeechRecognitionSessionConfig(); | |
| 30 }; | |
| 31 | |
| 32 } // namespace content | |
| 33 | |
| 34 #endif // CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_SESSION_CONFIG_H_ | |
| OLD | NEW |