Index: content/renderer/presentation/presentation_dispatcher.cc |
diff --git a/content/renderer/presentation/presentation_dispatcher.cc b/content/renderer/presentation/presentation_dispatcher.cc |
index 4826e5ad1f577f079df01715cd71001d86a1d0b2..9f528b8ebea3ebed9a160eaab9751926bd828fc4 100644 |
--- a/content/renderer/presentation/presentation_dispatcher.cc |
+++ b/content/renderer/presentation/presentation_dispatcher.cc |
@@ -205,7 +205,7 @@ void PresentationDispatcher::HandleSendMessageRequests(bool success) { |
} |
} |
-void PresentationDispatcher::terminateSession( |
+void PresentationDispatcher::closeSession( |
const blink::WebString& presentationUrl, |
const blink::WebString& presentationId) { |
ConnectToPresentationServiceIfNeeded(); |
@@ -215,6 +215,16 @@ void PresentationDispatcher::terminateSession( |
presentationId.utf8()); |
} |
+void PresentationDispatcher::terminateSession( |
+ const blink::WebString& presentationUrl, |
+ const blink::WebString& presentationId) { |
+ ConnectToPresentationServiceIfNeeded(); |
+ |
+ presentation_service_->TerminateSession( |
+ presentationUrl.utf8(), |
+ presentationId.utf8()); |
+} |
+ |
void PresentationDispatcher::getAvailability( |
const blink::WebString& availabilityUrl, |
blink::WebPresentationAvailabilityCallbacks* callbacks) { |