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

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

Issue 1539673003: Generate Mojom Types in Dart (Take 2) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Merge with master Created 4 years, 11 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 0554e5f891c97fcc7723f956407fcddf4a28d851..ee0e1e4b83a9eb243e5567baae2d8a0d94773dde 100644
--- a/mojo/dart/packages/mojo/lib/mojo/url_request.mojom.dart
+++ b/mojo/dart/packages/mojo/lib/mojo/url_request.mojom.dart
@@ -8,6 +8,8 @@ import 'dart:async';
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;
+
import 'package:mojo/mojo/http_header.mojom.dart' as http_header_mojom;
@@ -63,12 +65,16 @@ class UrlRequestCacheMode extends bindings.MojoEnum {
return 'UrlRequestCacheMode.bypassCache';
case onlyFromCache:
return 'UrlRequestCacheMode.onlyFromCache';
+ default:
+ return null;
}
}
int toJson() => mojoEnumValue;
}
+
+
class UrlRequest extends bindings.Struct {
static const List<bindings.StructDataHeader> kVersions = const [
const bindings.StructDataHeader(56, 0)
@@ -206,3 +212,7 @@ class UrlRequest extends bindings.Struct {
}
+
+
+
+
« 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