Index: mojo/dart/packages/mojo/lib/mojo/url_response.mojom.dart |
diff --git a/mojo/dart/packages/mojo/lib/mojo/url_response.mojom.dart b/mojo/dart/packages/mojo/lib/mojo/url_response.mojom.dart |
index 0a004002a4682cb1eb9b63a8479b4a09f8eaf727..7cd5f768aacd6bc5e6a8f13c73e544293d299a29 100644 |
--- a/mojo/dart/packages/mojo/lib/mojo/url_response.mojom.dart |
+++ b/mojo/dart/packages/mojo/lib/mojo/url_response.mojom.dart |
@@ -29,6 +29,20 @@ class UrlResponse extends bindings.Struct { |
UrlResponse() : super(kVersions.last.size); |
+ UrlResponse.init( |
+ network_error_mojom.NetworkError this.error, |
+ core.MojoDataPipeConsumer this.body, |
+ int this.statusCode, |
+ String this.url, |
+ String this.statusLine, |
+ List<http_header_mojom.HttpHeader> this.headers, |
+ String this.mimeType, |
+ String this.charset, |
+ String this.redirectMethod, |
+ String this.redirectUrl, |
+ String this.redirectReferrer |
+ ) : super(kVersions.last.size); |
+ |
static UrlResponse deserialize(bindings.Message message) { |
var decoder = new bindings.Decoder(message); |
var result = decode(decoder); |