Index: content/renderer/presentation/presentation_dispatcher.cc |
diff --git a/content/renderer/presentation/presentation_dispatcher.cc b/content/renderer/presentation/presentation_dispatcher.cc |
index 37e35448c1b20cc11b35ff07b67564116ea5c046..6e0f3f2d971e6585ac3cfbab21c94e6aab02b8be 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) { |