diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-29 11:57:18 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-29 11:57:18 +0000 |
commit | fcb8e0216c21719582f25726cf4f6766b1902f64 (patch) | |
tree | 1d14bc15659799f45740df07dc918e961601159d /content/browser/speech/speech_recognition_engine.h | |
parent | 8b81e050226de9b2f7614557e12c13fc3f3690eb (diff) | |
download | chromium_src-fcb8e0216c21719582f25726cf4f6766b1902f64.zip chromium_src-fcb8e0216c21719582f25726cf4f6766b1902f64.tar.gz chromium_src-fcb8e0216c21719582f25726cf4f6766b1902f64.tar.bz2 |
content/browser: Move speech code into content namespace.
TBR=jam@chromium.org
Review URL: https://codereview.chromium.org/11347004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164625 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/speech/speech_recognition_engine.h')
-rw-r--r-- | content/browser/speech/speech_recognition_engine.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/content/browser/speech/speech_recognition_engine.h b/content/browser/speech/speech_recognition_engine.h index 0e90ec8..abd94e9 100644 --- a/content/browser/speech/speech_recognition_engine.h +++ b/content/browser/speech/speech_recognition_engine.h @@ -12,13 +12,10 @@ #include "content/public/common/speech_recognition_grammar.h" namespace content { -struct SpeechRecognitionResult; -struct SpeechRecognitionError; -} - -namespace speech { class AudioChunk; +struct SpeechRecognitionResult; +struct SpeechRecognitionError; // This interface models the basic contract that a speech recognition engine, // either working locally or relying on a remote web-service, must obey. @@ -39,9 +36,9 @@ class SpeechRecognitionEngine { // (e.g., in the case of continuous speech recognition engine // implementations). virtual void OnSpeechRecognitionEngineResult( - const content::SpeechRecognitionResult& result) = 0; + const SpeechRecognitionResult& result) = 0; virtual void OnSpeechRecognitionEngineError( - const content::SpeechRecognitionError& error) = 0; + const SpeechRecognitionError& error) = 0; protected: virtual ~Delegate() {} @@ -53,7 +50,7 @@ class SpeechRecognitionEngine { ~Config(); std::string language; - content::SpeechRecognitionGrammarArray grammars; + SpeechRecognitionGrammarArray grammars; bool filter_profanities; bool continuous; bool interim_results; @@ -110,6 +107,6 @@ class SpeechRecognitionEngine { typedef SpeechRecognitionEngine::Delegate SpeechRecognitionEngineDelegate; typedef SpeechRecognitionEngine::Config SpeechRecognitionEngineConfig; -} // namespace speech +} // namespace content #endif // CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_ENGINE_H_ |