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

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

Issue 1689913003: [chrome.displaySource] Simplify session error types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@display_source_session_notification
Patch Set: Fixed the nit. 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
« no previous file with comments | « extensions/common/api/display_source.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 637a1f0580f52641d653411a7be01d672d201b67..025ed7f1e06e304b2db7ad02c8eb78c50b23104f 100644
--- a/extensions/common/mojo/wifi_display_session_service.mojom
+++ b/extensions/common/mojo/wifi_display_session_service.mojom
@@ -10,6 +10,8 @@ interface WiFiDisplaySessionService {
SetClient(WiFiDisplaySessionServiceClient client);
// Requires connection to a sink using the given authentication information.
+ // Note: 'auth_method' values must correspond to 'enum AuthenticationMethod'
+ // from display_source.idl
Connect(int32 sink_id, int32 auth_method, string auth_data);
// Drops the established connection to the connected sink.
@@ -27,6 +29,8 @@ interface WiFiDisplaySessionServiceClient {
OnTerminated();
// Notification of an error occurred during the session.
+ // Note: 'type' values must correspond to 'enum ErrorType'
+ // from display_source.idl
OnError(int32 type, string description);
// Invoked to transmit a controlling message from
« no previous file with comments | « extensions/common/api/display_source.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698