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

Unified Diff: extensions/common/mojo/wifi_display_session_service.mojom

Issue 1730583002: [chrome.displaySource] further implementation of call completion callbacks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments from Antony Created 4 years, 10 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: extensions/common/mojo/wifi_display_session_service.mojom
diff --git a/extensions/common/mojo/wifi_display_session_service.mojom b/extensions/common/mojo/wifi_display_session_service.mojom
index 025ed7f1e06e304b2db7ad02c8eb78c50b23104f..f664a5fb8db48641e3cab4bedf72a0a0b651297b 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
« no previous file with comments | « extensions/common/api/display_source.idl ('k') | extensions/renderer/api/display_source/display_source_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698