Index: third_party/WebKit/public/platform/modules/presentation/presentation.mojom |
diff --git a/third_party/WebKit/public/platform/modules/presentation/presentation.mojom b/third_party/WebKit/public/platform/modules/presentation/presentation.mojom |
index cb5ce871cae6e63cb4357df4f6595aaa283a80ee..7f093b65b2865474a43bc90494a3e53b5d0ba142 100644 |
--- a/third_party/WebKit/public/platform/modules/presentation/presentation.mojom |
+++ b/third_party/WebKit/public/platform/modules/presentation/presentation.mojom |
@@ -105,6 +105,11 @@ interface PresentationService { |
// PresentationServiceClient::OnSessionMessagesReceived. |
// This is called after a presentation session is created. |
ListenForSessionMessages(PresentationSessionInfo sessionInfo); |
+ |
+ // Returns a list of available receiver connections. In addition, when new |
+ // receiver connections become available, |OnReceiverConnectionAvailable| |
+ // will be invoked. |
+ GetReceiverConnections() => (array<PresentationSessionInfo> connections); |
}; |
interface PresentationServiceClient { |
@@ -137,4 +142,7 @@ interface PresentationServiceClient { |
// See PresentationService::SetDefaultPresentationURL. |
OnDefaultSessionStarted(PresentationSessionInfo sessionInfo); |
+ |
+ // See PresentationService::GetReceiverConnections. |
+ OnReceiverConnectionAvailable(PresentationSessionInfo connection); |
}; |