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

Unified Diff: chrome/browser/media/router/presentation_service_delegate_impl.h

Issue 1314413005: [Presentation API] 1-UA presentation support + presenter APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 months 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: chrome/browser/media/router/presentation_service_delegate_impl.h
diff --git a/chrome/browser/media/router/presentation_service_delegate_impl.h b/chrome/browser/media/router/presentation_service_delegate_impl.h
index c233b2d89644a0b4bd527e9711d501267b187a2b..7f502a471f75d02d322cd2cbe9f085485cc62405 100644
--- a/chrome/browser/media/router/presentation_service_delegate_impl.h
+++ b/chrome/browser/media/router/presentation_service_delegate_impl.h
@@ -118,17 +118,22 @@ class PresentationServiceDelegateImpl
int render_frame_id,
const content::PresentationSessionInfo& session,
const content::PresentationSessionMessageCallback& message_cb) override;
- void SendMessage(int render_process_id,
- int render_frame_id,
- const content::PresentationSessionInfo& session,
- std::unique_ptr<content::PresentationSessionMessage> message,
- const SendMessageCallback& send_message_cb) override;
+ void SendMessage(
+ int render_process_id,
+ int render_frame_id,
+ const content::PresentationSessionInfo& session,
+ std::unique_ptr<content::PresentationSessionMessage> message,
+ const content::SendMessageCallback& send_message_cb) override;
void ListenForConnectionStateChange(
int render_process_id,
int render_frame_id,
const content::PresentationSessionInfo& connection,
const content::PresentationConnectionStateChangedCallback&
state_changed_cb) override;
+ std::vector<content::PresentationSessionInfo> GetReceiverConnections(
+ int render_process_id,
+ int render_frame_id,
+ const content::PresentationSessionStartedCallback& callback) override;
// Callback invoked when a default PresentationRequest is started from a
// browser-initiated dialog.
@@ -194,7 +199,7 @@ class PresentationServiceDelegateImpl
int render_frame_id,
const content::PresentationSessionStartedCallback& success_cb,
const content::PresentationSessionInfo& new_session,
- const MediaRoute::Id& route_id);
+ const MediaRoute& route);
// References to the WebContents that owns this instance, and associated
// browser profile's MediaRouter instance.

Powered by Google App Engine
This is Rietveld 408576698