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 ba0bf99d56bfddcb0da9e3790d335432d6d99c09..14f9121204254fa46ac56272447305a245b70c3e 100644 |
--- a/content/public/browser/presentation_service_delegate.h |
+++ b/content/public/browser/presentation_service_delegate.h |
@@ -138,13 +138,20 @@ 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; |
+ // 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; |
+ |
// Listen for messages for a presentation session. |
whywhat
2015/11/20 06:26:49
nit: should you add 's' to the leading verb here a
mlamouri (slow - plz ping)
2015/11/27 11:48:47
Done.
|
// |render_process_id|, |render_frame_id|: ID for originating frame. |
// |session|: URL and ID of presentation session to listen for messages. |