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

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: Test fixed + Satish nits. 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 4bfcc2939945c03c210986bfe449801cde55183f..be00406143117b7f82df0ceeaf0915b1b5894c84 100644
--- a/content/public/browser/speech_recognition_session_context.h
+++ b/content/public/browser/speech_recognition_session_context.h
@@ -14,24 +14,20 @@ 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()
: render_process_id(0),
render_view_id(0),
- render_request_id(0),
- js_handle_id(0) {}
+ request_id(0) {}
~SpeechRecognitionSessionContext() {}
int render_process_id;
int render_view_id;
- int render_request_id;
- int js_handle_id;
+ int request_id;
gfx::Rect element_rect;
};

Powered by Google App Engine
This is Rietveld 408576698