Index: chrome/browser/media/router/mojo/media_router.mojom |
diff --git a/chrome/browser/media/router/mojo/media_router.mojom b/chrome/browser/media/router/mojo/media_router.mojom |
index e26170d891ef309a70ee3b90f3a0097639aae6cb..f9072db62cdbc65b1512e91dbf3e3649d0c7084a 100644 |
--- a/chrome/browser/media/router/mojo/media_router.mojom |
+++ b/chrome/browser/media/router/mojo/media_router.mojom |
@@ -5,6 +5,7 @@ |
module media_router.mojom; |
import "mojo/common/time.mojom"; |
+import "url/mojo/url.mojom"; |
// Represents an output sink to which media can be routed. |
struct MediaSink { |
@@ -26,6 +27,35 @@ struct MediaSink { |
string? domain; |
// The type of icon to show in the UI for this media sink. |
IconType icon_type; |
+ |
+ // Used for feedback |
imcheng
2017/02/08 01:28:09
Replace the "Used for XXX" with a description of w
zhaobin
2017/02/09 00:13:52
Done.
|
+ string? model_name; |
+ |
+ MediaSinkExtraData? extra_data; |
+}; |
+ |
+union MediaSinkExtraData { |
+ DialMediaSink dial_media_sink; |
+ CastMediaSink cast_media_sink; |
+}; |
+ |
+struct DialMediaSink { |
+ // Used for feedback |
+ string ip_address; |
+ |
+ // Used for DIAL launch |
+ url.mojom.Url app_url; |
+}; |
+ |
+struct CastMediaSink { |
+ int32 capabilities; |
+ |
+ // Used for feedback |
+ string ip_address; |
+ |
+ // ID of cast channel opened by Media Router. The ID can be |
+ // used to send call chrome.cast.channel.send. |
+ int32 cast_channel_id; |
}; |
// Should be kept in sync with media_route.h. |