Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3472)

Unified Diff: content/renderer/presentation/presentation_dispatcher.cc

Issue 1507743005: [MediaRouter] Renames CloseRoute() to Terminate() and creates DetachRoute() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android build Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/presentation/presentation_dispatcher.cc
diff --git a/content/renderer/presentation/presentation_dispatcher.cc b/content/renderer/presentation/presentation_dispatcher.cc
index 6e0f3f2d971e6585ac3cfbab21c94e6aab02b8be..d299c1abf019c3c9ce629ae781986b1f5dd04bed 100644
--- a/content/renderer/presentation/presentation_dispatcher.cc
+++ b/content/renderer/presentation/presentation_dispatcher.cc
@@ -210,9 +210,8 @@ void PresentationDispatcher::closeSession(
const blink::WebString& presentationId) {
ConnectToPresentationServiceIfNeeded();
- presentation_service_->CloseSession(
- presentationUrl.utf8(),
- presentationId.utf8());
+ presentation_service_->CloseConnection(presentationUrl.utf8(),
+ presentationId.utf8());
}
void PresentationDispatcher::terminateSession(
@@ -220,9 +219,8 @@ void PresentationDispatcher::terminateSession(
const blink::WebString& presentationId) {
ConnectToPresentationServiceIfNeeded();
- presentation_service_->TerminateSession(
- presentationUrl.utf8(),
- presentationId.utf8());
+ presentation_service_->Terminate(presentationUrl.utf8(),
+ presentationId.utf8());
}
void PresentationDispatcher::getAvailability(
« no previous file with comments | « content/public/browser/presentation_service_delegate.h ('k') | extensions/renderer/resources/media_router_bindings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698