summaryrefslogtreecommitdiffstats
path: root/content/browser/speech/speech_recognition_engine.h
diff options
context:
space:
mode:
authortommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-04 09:54:36 +0000
committertommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-04 09:54:36 +0000
commitfc88c1ea534ac8a4f28667ce07401fc7e68bb1fb (patch)
tree2d09f8c6ee414b6f0d4bc46dd5bbbfc917edf8ba /content/browser/speech/speech_recognition_engine.h
parent5ff11135bfe657fab30536b393522ba9b9b9a7bf (diff)
downloadchromium_src-fc88c1ea534ac8a4f28667ce07401fc7e68bb1fb.zip
chromium_src-fc88c1ea534ac8a4f28667ce07401fc7e68bb1fb.tar.gz
chromium_src-fc88c1ea534ac8a4f28667ce07401fc7e68bb1fb.tar.bz2
Revert 170701 since the WebKit change has now been rolled in again.
> 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 TBR=tasak@google.com Review URL: https://codereview.chromium.org/11316330 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170920 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/speech/speech_recognition_engine.h')
-rw-r--r--content/browser/speech/speech_recognition_engine.h6
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 abd94e9..73ba26e 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 OnSpeechRecognitionEngineResult(
- const SpeechRecognitionResult& result) = 0;
+ virtual void OnSpeechRecognitionEngineResults(
+ const SpeechRecognitionResults& results) = 0;
virtual void OnSpeechRecognitionEngineError(
const SpeechRecognitionError& error) = 0;