summaryrefslogtreecommitdiffstats
path: root/content/public/browser/speech_recognition_session_context.h
diff options
context:
space:
mode:
authorprimiano@chromium.org <primiano@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-24 15:36:28 +0000
committerprimiano@chromium.org <primiano@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-24 15:36:28 +0000
commitb09c46ddb2ec06d6b53cb72b3496138bbe175bb1 (patch)
tree052655f38b70dbcba4b9df15c0f7f49abedbddc2 /content/public/browser/speech_recognition_session_context.h
parent964e09d587e7e7135353ada8b430b034a9bef0bc (diff)
downloadchromium_src-b09c46ddb2ec06d6b53cb72b3496138bbe175bb1.zip
chromium_src-b09c46ddb2ec06d6b53cb72b3496138bbe175bb1.tar.gz
chromium_src-b09c46ddb2ec06d6b53cb72b3496138bbe175bb1.tar.bz2
Introduced SpeechRecognitionDispatcher(Host) classes, handling dispatch of IPC messages for continuous speech recognition. (Speech CL2.1)
BUG=116954 TEST=none Review URL: https://chromiumcodereview.appspot.com/10273006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138801 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, 4 insertions, 7 deletions
diff --git a/content/public/browser/speech_recognition_session_context.h b/content/public/browser/speech_recognition_session_context.h
index eaa4f39..4b6d9f7 100644
--- a/content/public/browser/speech_recognition_session_context.h
+++ b/content/public/browser/speech_recognition_session_context.h
@@ -15,11 +15,9 @@ 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 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
+// 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
// SpeechRecognitionManager::LookupSessionByContext methods).
struct CONTENT_EXPORT SpeechRecognitionSessionContext {
SpeechRecognitionSessionContext();
@@ -27,8 +25,7 @@ struct CONTENT_EXPORT SpeechRecognitionSessionContext {
int render_process_id;
int render_view_id;
- int render_request_id;
- int js_handle_id;
+ int request_id;
// Determines whether recognition was requested by a page element (in which
// case its coordinates are passed in |element_rect|).