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

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

Issue 170243005: Making sure that SpeechRecognitionDispatcherHost is not used after free (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed comments Created 6 years, 10 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 f6a76a25dccffb7f99e9f7432f77d8b70f7d5559..f72e75fd9b83e084a178250728fdf4cbc83afa79 100644
--- a/content/public/browser/speech_recognition_manager.h
+++ b/content/public/browser/speech_recognition_manager.h
@@ -48,9 +48,9 @@ class SpeechRecognitionManager {
// Aborts recognition for an existing session, without providing any result.
virtual void AbortSession(int session_id) = 0;
- // Aborts all sessions for a given listener, without providing any result.
- virtual void AbortAllSessionsForListener(
- SpeechRecognitionEventListener* listener) = 0;
+ // Aborts all sessions for a given render process,
+ // without providing any result.
+ virtual void AbortAllSessionsForRenderProcess(int render_process_id) = 0;
// Aborts all sessions for a given RenderView, without providing any result.
virtual void AbortAllSessionsForRenderView(int render_process_id,
« no previous file with comments | « content/browser/speech/speech_recognition_manager_impl.cc ('k') | content/public/browser/speech_recognition_session_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698