summaryrefslogtreecommitdiffstats
path: root/extensions/common/mojo/wifi_display_session_service.mojom
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/common/mojo/wifi_display_session_service.mojom')
-rw-r--r--extensions/common/mojo/wifi_display_session_service.mojom8
1 files changed, 7 insertions, 1 deletions
diff --git a/extensions/common/mojo/wifi_display_session_service.mojom b/extensions/common/mojo/wifi_display_session_service.mojom
index 025ed7f..f664a5f 100644
--- a/extensions/common/mojo/wifi_display_session_service.mojom
+++ b/extensions/common/mojo/wifi_display_session_service.mojom
@@ -23,11 +23,17 @@ interface WiFiDisplaySessionService {
interface WiFiDisplaySessionServiceClient {
// Notification of a successfull connection to a sink.
- OnEstablished(string ip_address);
+ OnConnected(string ip_address);
+
+ // Notification of a handled connection request.
+ OnConnectRequestHandled(bool success, string error_message);
// Notification of a session termination.
OnTerminated();
+ // Notification of a handled termination request.
+ OnDisconnectRequestHandled(bool success, string error_message);
+
// Notification of an error occurred during the session.
// Note: 'type' values must correspond to 'enum ErrorType'
// from display_source.idl