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

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: 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_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;

Powered by Google App Engine
This is Rietveld 408576698