Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1021)

Unified Diff: content/public/browser/speech_recognition_session_context.h

Issue 10273006: Introduced SpeechRecognitionDispatcher(Host) classes, handling dispatch of IPC messages for continu… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased (because of CL1.11 reverted and recommitted) Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/browser/speech_recognition_session_context.h
diff --git a/content/public/browser/speech_recognition_session_context.h b/content/public/browser/speech_recognition_session_context.h
index eaa4f39eb88d05e05e9b53885f0090d5bdc65f63..4b6d9f7bd730adb1a392360999a0727771ffa5d7 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|).
« no previous file with comments | « content/public/browser/speech_recognition_manager.h ('k') | content/public/browser/speech_recognition_session_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698