summaryrefslogtreecommitdiffstats
path: root/extensions/common
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/common')
-rw-r--r--extensions/common/api/display_source.idl3
-rw-r--r--extensions/common/mojo/wifi_display_session_service.mojom8
2 files changed, 4 insertions, 7 deletions
diff --git a/extensions/common/api/display_source.idl b/extensions/common/api/display_source.idl
index f65a82a..83cfa0d 100644
--- a/extensions/common/api/display_source.idl
+++ b/extensions/common/api/display_source.idl
@@ -144,9 +144,6 @@ namespace displaySource {
// or properties)
// |sinks| the list of all currently available sinks
static void onSinksUpdated(SinkInfo[] sinks);
- // Event fired when the Display session is started.
- // |sinkId| Id of the peer sink
- [nocompile] static void onSessionStarted(long sinkId);
// Event fired when the Display session is terminated.
// |sinkId| Id of the peer sink
[nocompile] static void onSessionTerminated(long sinkId);
diff --git a/extensions/common/mojo/wifi_display_session_service.mojom b/extensions/common/mojo/wifi_display_session_service.mojom
index e302256..637a1f0 100644
--- a/extensions/common/mojo/wifi_display_session_service.mojom
+++ b/extensions/common/mojo/wifi_display_session_service.mojom
@@ -21,13 +21,13 @@ interface WiFiDisplaySessionService {
interface WiFiDisplaySessionServiceClient {
// Notification of a successfull connection to a sink.
- OnConnected(int32 sink_id, string ip_address);
+ OnEstablished(string ip_address);
- // Notification of a connection termination.
- OnDisconnected(int32 sink_id);
+ // Notification of a session termination.
+ OnTerminated();
// Notification of an error occurred during the session.
- OnError(int32 sink_id, int32 type, string description);
+ OnError(int32 type, string description);
// Invoked to transmit a controlling message from
// the connected sink.