diff options
author | tasak@google.com <tasak@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-03 04:18:50 +0000 |
---|---|---|
committer | tasak@google.com <tasak@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-03 04:18:50 +0000 |
commit | 9469fc0d408c2dcbc3e50dfc4f2a0f24da46fdce (patch) | |
tree | da436bcb98ae52609dd0c23bf1034338e6c1757a /content/browser/speech/speech_recognition_engine.h | |
parent | 054bd9d26eb1f945d4b7c18e4a30c8c5354bcda8 (diff) | |
download | chromium_src-9469fc0d408c2dcbc3e50dfc4f2a0f24da46fdce.zip chromium_src-9469fc0d408c2dcbc3e50dfc4f2a0f24da46fdce.tar.gz chromium_src-9469fc0d408c2dcbc3e50dfc4f2a0f24da46fdce.tar.bz2 |
Revert 170668
Needs to revert this because its WebKit patch was unrolled.
(See r136319, unreviewed, rolling out r136236).
> Update the Speech Api to support array(s) of result items
> instead of a single item at a time.
>
> BUG=143124
> TEST=Covered by content_unittests
>
> Review URL: https://chromiumcodereview.appspot.com/11421103
TBR=tommi@chromium.org
Review URL: https://codereview.chromium.org/11416310
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170701 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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/browser/speech/speech_recognition_engine.h b/content/browser/speech/speech_recognition_engine.h index 73ba26e..abd94e9 100644 --- a/content/browser/speech/speech_recognition_engine.h +++ b/content/browser/speech/speech_recognition_engine.h @@ -10,11 +10,11 @@ #include "base/basictypes.h" #include "content/common/content_export.h" #include "content/public/common/speech_recognition_grammar.h" -#include "content/public/common/speech_recognition_result.h" namespace content { class AudioChunk; +struct SpeechRecognitionResult; struct SpeechRecognitionError; // This interface models the basic contract that a speech recognition engine, @@ -35,8 +35,8 @@ class SpeechRecognitionEngine { // Called whenever a result is retrieved. It might be issued several times, // (e.g., in the case of continuous speech recognition engine // implementations). - virtual void OnSpeechRecognitionEngineResults( - const SpeechRecognitionResults& results) = 0; + virtual void OnSpeechRecognitionEngineResult( + const SpeechRecognitionResult& result) = 0; virtual void OnSpeechRecognitionEngineError( const SpeechRecognitionError& error) = 0; |