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

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

Issue 9972008: Refactoring of chrome speech recognition architecture (CL1.6) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased from master (incl. leak patch) Created 8 years, 8 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 89651c17a1284c42e4f3a13d68256e58ceab8b1c..9c94999529afed9e1895fda494d5851c518d4c49 100644
--- a/content/public/browser/speech_recognition_manager.h
+++ b/content/public/browser/speech_recognition_manager.h
@@ -20,14 +20,14 @@ class SpeechRecognitionManager {
CONTENT_EXPORT static SpeechRecognitionManager* GetInstance();
// Starts/restarts recognition for an existing request.
- virtual void StartRecognitionForRequest(int caller_id) = 0;
+ virtual void StartRecognitionForRequest(int session_id) = 0;
// Cancels recognition for an existing request.
- virtual void CancelRecognitionForRequest(int caller_id) = 0;
+ virtual void CancelRecognitionForRequest(int session_id) = 0;
// Called when the user clicks outside the speech input UI causing it to close
// and possibly have speech input go to another element.
- virtual void FocusLostForRequest(int caller_id) = 0;
+ virtual void FocusLostForRequest(int session_id) = 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