Index: mojo/dart/packages/mojo_services/lib/mojo/media/media_metadata.mojom.dart |
diff --git a/mojo/dart/packages/mojo_services/lib/mojo/media/media_metadata.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/media/media_metadata.mojom.dart |
index 2f033b259578d99bcfe7bc9462dc27e97bdfef13..7fa5640b7f44de62f29b526da41bd2149f0dc850 100644 |
--- a/mojo/dart/packages/mojo_services/lib/mojo/media/media_metadata.mojom.dart |
+++ b/mojo/dart/packages/mojo_services/lib/mojo/media/media_metadata.mojom.dart |
@@ -5,9 +5,12 @@ |
library media_metadata_mojom; |
import 'dart:async'; |
+import 'dart:collection'; |
import 'package:mojo/bindings.dart' as bindings; |
import 'package:mojo/core.dart' as core; |
+import 'package:mojo/mojo/bindings/types/mojom_types.mojom.dart' as mojom_types; |
+ |
@@ -130,5 +133,69 @@ class MediaMetadata extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _media_metadata_MediaMetadata__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'MediaMetadata' |
+ ..fullIdentifier = 'mojo.media.MediaMetadata') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Duration') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint64), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Title') |
+ ..type = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Artist') |
+ ..type = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Album') |
+ ..type = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Publisher') |
+ ..type = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Genre') |
+ ..type = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Composer') |
+ ..type = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = true)), |
+ ]; |
+} |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+Map<String, mojom_types.UserDefinedType> _initDescriptions() { |
+ var map = new HashMap<String, mojom_types.UserDefinedType>(); |
+map["_media_metadata_MediaMetadata__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _media_metadata_MediaMetadata__(); |
+ |
+ return map; |
+} |
+var _MojomDesc; |
+Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() { |
+ if (_MojomDesc == null) { |
+ _MojomDesc = _initDescriptions(); |
+ } |
+ return _MojomDesc; |
+} |