Index: content/public/browser/speech_recognition_session_config.h |
diff --git a/content/public/browser/speech_recognition_session_config.h b/content/public/browser/speech_recognition_session_config.h |
index e4b2891d108cc386d9ea2cfd4df10d3300ebbf97..1e4e42ee82d8e0ac6cd99ca0c9bc401f10056d09 100644 |
--- a/content/public/browser/speech_recognition_session_config.h |
+++ b/content/public/browser/speech_recognition_session_config.h |
@@ -4,11 +4,13 @@ |
#ifndef CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_SESSION_CONFIG_H_ |
#define CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_SESSION_CONFIG_H_ |
+#pragma once |
#include "base/basictypes.h" |
#include "base/memory/ref_counted.h" |
#include "content/common/content_export.h" |
#include "content/public/browser/speech_recognition_session_context.h" |
+#include "content/public/common/speech_recognition_grammar.h" |
namespace net { |
class URLRequestContextGetter; |
@@ -22,9 +24,10 @@ struct CONTENT_EXPORT SpeechRecognitionSessionConfig { |
~SpeechRecognitionSessionConfig(); |
std::string language; |
- std::string grammar; |
+ SpeechRecognitionGrammarArray grammars; |
std::string origin_url; |
bool filter_profanities; |
+ bool continuous; |
Satish
2012/04/27 10:04:41
this name is very generic. perhaps add a comment h
Primiano Tucci (use gerrit)
2012/04/27 15:58:44
Renamed to is_one_shot.
|
SpeechRecognitionSessionContext initial_context; |
scoped_refptr<net::URLRequestContextGetter> url_request_context_getter; |
}; |