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

Unified Diff: mojo/public/tools/bindings/generators/mojom_dart_generator.py

Issue 800523004: Dart: Simplifies the handle watcher. Various cleanups and bugfixes. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: cleanup Created 5 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
« no previous file with comments | « mojo/public/tools/bindings/generators/dart_templates/struct_definition.tmpl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/tools/bindings/generators/mojom_dart_generator.py
diff --git a/mojo/public/tools/bindings/generators/mojom_dart_generator.py b/mojo/public/tools/bindings/generators/mojom_dart_generator.py
index 90846056d0b6030361c745a04d592eee1e273f59..204e7c30cf97483a4d6a79c6decddb9014fbda46 100644
--- a/mojo/public/tools/bindings/generators/mojom_dart_generator.py
+++ b/mojo/public/tools/bindings/generators/mojom_dart_generator.py
@@ -45,16 +45,16 @@ _kind_to_dart_decl_type = {
mojom.INT32: "int",
mojom.UINT32: "int",
mojom.FLOAT: "double",
- mojom.HANDLE: "core.RawMojoHandle",
- mojom.DCPIPE: "core.RawMojoHandle",
- mojom.DPPIPE: "core.RawMojoHandle",
- mojom.MSGPIPE: "core.RawMojoHandle",
- mojom.SHAREDBUFFER: "core.RawMojoHandle",
- mojom.NULLABLE_HANDLE: "core.RawMojoHandle",
- mojom.NULLABLE_DCPIPE: "core.RawMojoHandle",
- mojom.NULLABLE_DPPIPE: "core.RawMojoHandle",
- mojom.NULLABLE_MSGPIPE: "core.RawMojoHandle",
- mojom.NULLABLE_SHAREDBUFFER: "core.RawMojoHandle",
+ mojom.HANDLE: "core.MojoHandle",
+ mojom.DCPIPE: "core.MojoHandle",
+ mojom.DPPIPE: "core.MojoHandle",
+ mojom.MSGPIPE: "core.MojoHandle",
+ mojom.SHAREDBUFFER: "core.MojoHandle",
+ mojom.NULLABLE_HANDLE: "core.MojoHandle",
+ mojom.NULLABLE_DCPIPE: "core.MojoHandle",
+ mojom.NULLABLE_DPPIPE: "core.MojoHandle",
+ mojom.NULLABLE_MSGPIPE: "core.MojoHandle",
+ mojom.NULLABLE_SHAREDBUFFER: "core.MojoHandle",
mojom.INT64: "int",
mojom.UINT64: "int",
mojom.DOUBLE: "double",
« no previous file with comments | « mojo/public/tools/bindings/generators/dart_templates/struct_definition.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698