summaryrefslogtreecommitdiffstats
path: root/content/public/browser/speech_recognition_session_context.h
diff options
context:
space:
mode:
authorhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-24 16:04:57 +0000
committerhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-24 16:04:57 +0000
commit6f34fc29f326f1aac4edfa3ce03a4237aea22bc1 (patch)
tree3246bcd93678ff8128824ddc0b12d32c5fca1cfd /content/public/browser/speech_recognition_session_context.h
parentd16e704e8f6e0fd8e71f68408bc50dabd427d83d (diff)
downloadchromium_src-6f34fc29f326f1aac4edfa3ce03a4237aea22bc1.zip
chromium_src-6f34fc29f326f1aac4edfa3ce03a4237aea22bc1.tar.gz
chromium_src-6f34fc29f326f1aac4edfa3ce03a4237aea22bc1.tar.bz2
Revert 138801 - Introduced SpeechRecognitionDispatcher(Host) classes, handling dispatch of IPC messages for continuous speech recognition. (Speech CL2.1)
It looks like this bumped the Linux x64 size with ~40k, causing the perf bot to go red: http://build.chromium.org/p/chromium/buildstatus?builder=Linux%20x64&number=30110 Will try to figure out what's going on and re-land later. BUG=116954 TEST=none Review URL: https://chromiumcodereview.appspot.com/10273006 TBR=primiano@chromium.org Review URL: https://chromiumcodereview.appspot.com/10443009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138807 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/browser/speech_recognition_session_context.h')
-rw-r--r--content/public/browser/speech_recognition_session_context.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/content/public/browser/speech_recognition_session_context.h b/content/public/browser/speech_recognition_session_context.h
index 4b6d9f7..eaa4f39 100644
--- a/content/public/browser/speech_recognition_session_context.h
+++ b/content/public/browser/speech_recognition_session_context.h
@@ -15,9 +15,11 @@ namespace content {
// The context information required by clients of the SpeechRecognitionManager
// and its delegates for mapping the recognition session to other browser
// elements involved with it (e.g., the page element that requested the
-// recognition). The manager keeps this struct attached to the recognition
-// session during all the session lifetime, making its contents available to
-// clients (In this regard, see SpeechRecognitionManager::GetSessionContext and
+// recognition). The SpeechRecognitionManager is not aware of the content of
+// this struct and does NOT use it for its purposes. However the manager keeps
+// this struct "attached" to the recognition session during all the session
+// lifetime, making its contents available to clients (In this regard, see
+// SpeechRecognitionManager::GetSessionContext and
// SpeechRecognitionManager::LookupSessionByContext methods).
struct CONTENT_EXPORT SpeechRecognitionSessionContext {
SpeechRecognitionSessionContext();
@@ -25,7 +27,8 @@ struct CONTENT_EXPORT SpeechRecognitionSessionContext {
int render_process_id;
int render_view_id;
- int request_id;
+ int render_request_id;
+ int js_handle_id;
// Determines whether recognition was requested by a page element (in which
// case its coordinates are passed in |element_rect|).