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

Unified Diff: content/public/browser/presentation_service_delegate.h

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/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 ec0909d4354b0fbe8f7680f3e2c67939da2bd183..d3b92be08ed0fa8dbe3cf149f165d5460b25f184 100644
--- a/content/public/browser/presentation_service_delegate.h
+++ b/content/public/browser/presentation_service_delegate.h
@@ -137,19 +137,19 @@ class CONTENT_EXPORT PresentationServiceDelegate {
const PresentationSessionStartedCallback& success_cb,
const PresentationSessionErrorCallback& error_cb) = 0;
- // Closes an existing presentation session.
+ // Closes an existing presentation connection.
// |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;
+ virtual void CloseConnection(int render_process_id,
+ int render_frame_id,
+ const std::string& presentation_id) = 0;
- // Terminates an existing presentation session.
+ // Terminates an existing presentation.
// |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;
+ virtual void Terminate(int render_process_id,
+ int render_frame_id,
+ const std::string& presentation_id) = 0;
// Listens for messages for a presentation session.
// |render_process_id|, |render_frame_id|: ID for originating frame.
« no previous file with comments | « content/common/presentation/presentation_service.mojom ('k') | content/renderer/presentation/presentation_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698