diff options
author | mikhail.pozdnyakov <mikhail.pozdnyakov@intel.com> | 2016-02-15 02:25:27 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-15 10:26:12 +0000 |
commit | dad8e717e7cad2a61661b48a37e799b008d4800a (patch) | |
tree | 5e2f12e1f0dc45db2929249e903dc9b5850d71c4 /extensions/common/mojo | |
parent | 7527d80ff863154e5b088df02253a832211682c2 (diff) | |
download | chromium_src-dad8e717e7cad2a61661b48a37e799b008d4800a.zip chromium_src-dad8e717e7cad2a61661b48a37e799b008d4800a.tar.gz chromium_src-dad8e717e7cad2a61661b48a37e799b008d4800a.tar.bz2 |
[chrome.displaySource] Simplify session error types
This patch reduces amount of possible session error types and
makes them more generic (less WiFi Display oriented).
BUG=242107
Review URL: https://codereview.chromium.org/1689913003
Cr-Commit-Position: refs/heads/master@{#375437}
Diffstat (limited to 'extensions/common/mojo')
-rw-r--r-- | extensions/common/mojo/wifi_display_session_service.mojom | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/common/mojo/wifi_display_session_service.mojom b/extensions/common/mojo/wifi_display_session_service.mojom index 637a1f0..025ed7f 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 |