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

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: 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/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 01d7e07e29c2cde52737507d18ff6453d4d03c56..511f8417bd9dbb5c83bf041758cffd735ef2d018 100644
--- a/mojo/dart/packages/mojo/lib/mojo/url_response.mojom.dart
+++ b/mojo/dart/packages/mojo/lib/mojo/url_response.mojom.dart
@@ -28,6 +28,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);
« no previous file with comments | « mojo/dart/packages/mojo/lib/mojo/url_request.mojom.dart ('k') | mojo/dart/packages/mojo/lib/src/control_message.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698