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

Unified Diff: mojo/dart/packages/mojo/lib/mojo/url_request.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_request.mojom.dart
diff --git a/mojo/dart/packages/mojo/lib/mojo/url_request.mojom.dart b/mojo/dart/packages/mojo/lib/mojo/url_request.mojom.dart
index c69854a0671dfc1330a4b8b8a182f199246839d8..53cbbd513475328f99dda90a0059dad472de44d6 100644
--- a/mojo/dart/packages/mojo/lib/mojo/url_request.mojom.dart
+++ b/mojo/dart/packages/mojo/lib/mojo/url_request.mojom.dart
@@ -82,6 +82,16 @@ class UrlRequest extends bindings.Struct {
UrlRequest() : super(kVersions.last.size);
+ UrlRequest.init(
+ String this.url,
+ String this.method,
+ List<http_header_mojom.HttpHeader> this.headers,
+ List<core.MojoDataPipeConsumer> this.body,
+ int this.responseBodyBufferSize,
+ bool this.autoFollowRedirects,
+ UrlRequestCacheMode this.cacheMode
+ ) : super(kVersions.last.size);
+
static UrlRequest 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/shell.mojom.dart ('k') | mojo/dart/packages/mojo/lib/mojo/url_response.mojom.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698