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

Unified Diff: mojo/dart/packages/mojo/lib/mojo/url_response.mojom.dart

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

Powered by Google App Engine
This is Rietveld 408576698