Index: content/public/browser/speech_recognition_manager_delegate.h |
diff --git a/content/public/browser/speech_recognition_manager_delegate.h b/content/public/browser/speech_recognition_manager_delegate.h |
index 7b729d16b30387eddc1d34270837002395039964..1e77ad5f9ef6a4f9e95506b4750ea0253415247f 100644 |
--- a/content/public/browser/speech_recognition_manager_delegate.h |
+++ b/content/public/browser/speech_recognition_manager_delegate.h |
@@ -30,6 +30,10 @@ class SpeechRecognitionManagerDelegate { |
int session_id, |
base::Callback<void(bool ask_user, bool is_allowed)> callback) = 0; |
+ // Called when the event listener is going away for the sessions. |
+ virtual void OnAbortSessionsForListener( |
+ SpeechRecognitionEventListener* listener) = 0; |
+ |
// Checks whether the delegate is interested (returning a non NULL ptr) or not |
// (returning NULL) in receiving a copy of all sessions events. |
virtual SpeechRecognitionEventListener* GetEventListener() = 0; |