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

Unified Diff: content/public/browser/speech_recognition_manager.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
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/browser/speech_recognition_session_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/speech_recognition_manager.h
diff --git a/content/public/browser/speech_recognition_manager.h b/content/public/browser/speech_recognition_manager.h
index 2d6d597f00ae074fdccf49fbf44b143acda784a3..0cd2a756fc87a0c7f0209734817890931dd6c003 100644
--- a/content/public/browser/speech_recognition_manager.h
+++ b/content/public/browser/speech_recognition_manager.h
@@ -62,11 +62,11 @@ class SpeechRecognitionManager {
virtual SpeechRecognitionSessionContext GetSessionContext(
int session_id) const = 0;
- // Looks-up an existing session using a caller-provided matcher function.
- virtual int LookupSessionByContext(
- base::Callback<bool(
- const content::SpeechRecognitionSessionContext&)> matcher)
- const = 0;
+ // Looks-up an existing session from the context tuple
+ // {render_view_id, render_view_id, request_id}.
+ virtual int GetSession(int render_process_id,
+ int render_view_id,
+ int request_id) const = 0;
// Returns true if the OS reports existence of audio recording devices.
virtual bool HasAudioInputDevices() = 0;
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/browser/speech_recognition_session_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698