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

Unified Diff: content/browser/presentation/presentation_service_impl.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/browser/presentation/presentation_service_impl.cc
diff --git a/content/browser/presentation/presentation_service_impl.cc b/content/browser/presentation/presentation_service_impl.cc
index b11c16122be9511b5d903ba8e559e6c85bcd0f53..62778c9c85a7e5e1d4386d25c4d88dfd7fe1e7fd 100644
--- a/content/browser/presentation/presentation_service_impl.cc
+++ b/content/browser/presentation/presentation_service_impl.cc
@@ -413,22 +413,20 @@ void PresentationServiceImpl::OnSendMessageCallback(bool sent) {
}
}
-void PresentationServiceImpl::CloseSession(
+void PresentationServiceImpl::CloseConnection(
const mojo::String& presentation_url,
const mojo::String& presentation_id) {
- DVLOG(2) << "CloseSession " << presentation_id;
+ DVLOG(2) << "CloseConnection " << presentation_id;
if (delegate_)
- delegate_->CloseSession(render_process_id_, render_frame_id_,
- presentation_id);
+ delegate_->CloseConnection(render_process_id_, render_frame_id_,
+ presentation_id);
}
-void PresentationServiceImpl::TerminateSession(
- const mojo::String& presentation_url,
- const mojo::String& presentation_id) {
- DVLOG(2) << "TerminateSession " << presentation_id;
+void PresentationServiceImpl::Terminate(const mojo::String& presentation_url,
+ const mojo::String& presentation_id) {
+ DVLOG(2) << "Terminate " << presentation_id;
if (delegate_)
- delegate_->TerminateSession(render_process_id_, render_frame_id_,
- presentation_id);
+ delegate_->Terminate(render_process_id_, render_frame_id_, presentation_id);
}
void PresentationServiceImpl::OnConnectionStateChanged(

Powered by Google App Engine
This is Rietveld 408576698