Index: mojo/dart/packages/mojo/lib/mojo/bindings/types/mojom_files.mojom.dart |
diff --git a/mojo/dart/packages/mojo/lib/mojo/bindings/types/mojom_files.mojom.dart b/mojo/dart/packages/mojo/lib/mojo/bindings/types/mojom_files.mojom.dart |
index 88bde8654c7513a7aaf0044ad193c8f9af9a18e9..327c68806b09db2c9f7981093c0bd5af325178b3 100644 |
--- a/mojo/dart/packages/mojo/lib/mojo/bindings/types/mojom_files.mojom.dart |
+++ b/mojo/dart/packages/mojo/lib/mojo/bindings/types/mojom_files.mojom.dart |
@@ -22,6 +22,16 @@ class MojomFile extends bindings.Struct { |
MojomFile() : super(kVersions.last.size); |
+ MojomFile.init( |
+ String this.fileName, |
+ String this.specifiedFileName, |
+ String this.moduleNamespace, |
+ List<mojom_types_mojom.Attribute> this.attributes, |
+ List<String> this.imports, |
+ KeysByType this.declaredMojomObjects, |
+ String this.serializedRuntimeTypeInfo |
+ ) : super(kVersions.last.size); |
+ |
static MojomFile deserialize(bindings.Message message) { |
var decoder = new bindings.Decoder(message); |
var result = decode(decoder); |
@@ -210,6 +220,12 @@ class MojomFileGraph extends bindings.Struct { |
MojomFileGraph() : super(kVersions.last.size); |
+ MojomFileGraph.init( |
+ Map<String, MojomFile> this.files, |
+ Map<String, mojom_types_mojom.UserDefinedType> this.resolvedTypes, |
+ Map<String, mojom_types_mojom.DeclaredConstant> this.resolvedConstants |
+ ) : super(kVersions.last.size); |
+ |
static MojomFileGraph deserialize(bindings.Message message) { |
var decoder = new bindings.Decoder(message); |
var result = decode(decoder); |
@@ -473,6 +489,16 @@ class KeysByType extends bindings.Struct { |
KeysByType() : super(kVersions.last.size); |
+ KeysByType.init( |
+ List<String> this.interfaces, |
+ List<String> this.structs, |
+ List<String> this.unions, |
+ List<String> this.topLevelEnums, |
+ List<String> this.embeddedEnums, |
+ List<String> this.topLevelConstants, |
+ List<String> this.embeddedConstants |
+ ) : super(kVersions.last.size); |
+ |
static KeysByType deserialize(bindings.Message message) { |
var decoder = new bindings.Decoder(message); |
var result = decode(decoder); |