summaryrefslogtreecommitdiffstats
path: root/content/renderer/speech_recognition_dispatcher.h
diff options
context:
space:
mode:
authorprimiano@chromium.org <primiano@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-22 16:57:14 +0000
committerprimiano@chromium.org <primiano@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-22 16:57:14 +0000
commitc766aa9d160a4da403ff48e62c7f1a5dccdb3421 (patch)
treee3deca24d0149086b59a549bf4e87d229f03b88e /content/renderer/speech_recognition_dispatcher.h
parent03a94ccc9e67b37d2871290b73609c615e95f61f (diff)
downloadchromium_src-c766aa9d160a4da403ff48e62c7f1a5dccdb3421.zip
chromium_src-c766aa9d160a4da403ff48e62c7f1a5dccdb3421.tar.gz
chromium_src-c766aa9d160a4da403ff48e62c7f1a5dccdb3421.tar.bz2
Introduced experimental support for interacting with the google remote streaming speech recognition webservice (Speech CL2.3).
The support is very experimental by now and has a lot of debugging code for helping the development. BUG=116954 TEST=content_unittests:GoogleStreamingRemoteEngineTest Review URL: https://chromiumcodereview.appspot.com/10546020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143616 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/speech_recognition_dispatcher.h')
-rw-r--r--content/renderer/speech_recognition_dispatcher.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/renderer/speech_recognition_dispatcher.h b/content/renderer/speech_recognition_dispatcher.h
index 3e3b141..bd643ede 100644
--- a/content/renderer/speech_recognition_dispatcher.h
+++ b/content/renderer/speech_recognition_dispatcher.h
@@ -54,7 +54,8 @@ class SpeechRecognitionDispatcher : public content::RenderViewObserver,
void OnResultRetrieved(int request_id,
const content::SpeechRecognitionResult& result);
- int GetIDForHandle(const WebKit::WebSpeechRecognitionHandle& handle);
+ int GetOrCreateIDForHandle(const WebKit::WebSpeechRecognitionHandle& handle);
+ bool HandleExists(const WebKit::WebSpeechRecognitionHandle& handle);
const WebKit::WebSpeechRecognitionHandle& GetHandleFromID(int handle_id);
// The WebKit client class that we use to send events back to the JS world.