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

Unified Diff: mojo/dart/packages/mojo/lib/mojo/bindings/types/mojom_files.mojom.dart

Issue 2006093002: Dart: Futures -> Callbacks. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Merge Created 4 years, 6 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
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);

Powered by Google App Engine
This is Rietveld 408576698