Index: mojo/dart/packages/mojo_services/lib/http_server/http_response.mojom.dart |
diff --git a/mojo/dart/packages/mojo_services/lib/http_server/http_response.mojom.dart b/mojo/dart/packages/mojo_services/lib/http_server/http_response.mojom.dart |
index a532a869078cbfc9f2a0ecaff407973fa5a78b12..4e991face30bb068c6e430685307ef73d52761ed 100644 |
--- a/mojo/dart/packages/mojo_services/lib/http_server/http_response.mojom.dart |
+++ b/mojo/dart/packages/mojo_services/lib/http_server/http_response.mojom.dart |
@@ -5,9 +5,12 @@ |
library http_response_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; |
+ |
@@ -163,5 +166,65 @@ class HttpResponse extends bindings.Struct { |
'Object containing handles cannot be encoded to JSON.'); |
} |
} |
+mojom_types.MojomStruct _http_response_HttpResponse__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'HttpResponse' |
+ ..fullIdentifier = 'http_server.HttpResponse') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'StatusCode') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Body') |
+ ..type = (new mojom_types.Type() |
+..handleType = (new mojom_types.HandleType() |
+..kind = mojom_types.HandleTypeKind.dataPipeConsumer |
+..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ContentLength') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int64), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ContentType') |
+ ..type = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'CustomHeaders') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..nullable = true |
+ |
+ ..keyType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)) |
+ ..valueType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)))), |
+ ]; |
+} |
+ |
+ |
+ |
+ |
+ |
+ |
+Map<String, mojom_types.UserDefinedType> _initDescriptions() { |
+ var map = new HashMap<String, mojom_types.UserDefinedType>(); |
+map["_http_response_HttpResponse__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _http_response_HttpResponse__(); |
+ |
+ return map; |
+} |
+ |
+var _MojomDesc; |
+Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() { |
+ if (_MojomDesc == null) { |
+ _MojomDesc = _initDescriptions(); |
+ } |
+ return _MojomDesc; |
+} |
+ |