Index: content/public/browser/presentation_service_delegate.h |
diff --git a/content/public/browser/presentation_service_delegate.h b/content/public/browser/presentation_service_delegate.h |
index 28a83285f71445ca6c625307fcac2c28b810531a..ec0909d4354b0fbe8f7680f3e2c67939da2bd183 100644 |
--- a/content/public/browser/presentation_service_delegate.h |
+++ b/content/public/browser/presentation_service_delegate.h |
@@ -137,14 +137,21 @@ class CONTENT_EXPORT PresentationServiceDelegate { |
const PresentationSessionStartedCallback& success_cb, |
const PresentationSessionErrorCallback& error_cb) = 0; |
- // Close an existing presentation session. |
+ // Closes an existing presentation session. |
// |render_process_id|, |render_frame_id|: ID for originating frame. |
// |presentation_id|: The ID of the presentation to close. |
virtual void CloseSession(int render_process_id, |
int render_frame_id, |
const std::string& presentation_id) = 0; |
- // Listen for messages for a presentation session. |
+ // Terminates an existing presentation session. |
+ // |render_process_id|, |render_frame_id|: ID for originating frame. |
+ // |presentation_id|: The ID of the presentation to terminate. |
+ virtual void TerminateSession(int render_process_id, |
+ int render_frame_id, |
+ const std::string& presentation_id) = 0; |
+ |
+ // Listens for messages for a presentation session. |
// |render_process_id|, |render_frame_id|: ID for originating frame. |
// |session|: URL and ID of presentation session to listen for messages. |
// |message_cb|: Invoked with a non-empty list of messages whenever there are |