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

Unified Diff: mojo/apps/js/test/js_to_cpp.mojom

Issue 472083003: Mojom cpp bindings: Enable non-nullable check. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « device/serial/serial.mojom ('k') | mojo/public/cpp/bindings/lib/validation_errors.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/apps/js/test/js_to_cpp.mojom
diff --git a/mojo/apps/js/test/js_to_cpp.mojom b/mojo/apps/js/test/js_to_cpp.mojom
index 851d59127a531b6fc370bf7ece9f9ac54a3f1a17..1eba91e31e28c5fbf5c3efd9bafeb52396ef0e39 100644
--- a/mojo/apps/js/test/js_to_cpp.mojom
+++ b/mojo/apps/js/test/js_to_cpp.mojom
@@ -17,15 +17,15 @@ struct EchoArgs {
double double_val;
double double_inf;
double double_nan;
- string name;
- string[] string_array;
- handle<message_pipe> message_handle;
- handle<data_pipe_consumer> data_handle;
+ string? name;
+ string[]? string_array;
+ handle<message_pipe>? message_handle;
+ handle<data_pipe_consumer>? data_handle;
};
struct EchoArgsList {
- EchoArgsList next;
- EchoArgs item;
+ EchoArgsList? next;
+ EchoArgs? item;
};
// Note: For messages which control test flow, pick numbers that are unlikely
« no previous file with comments | « device/serial/serial.mojom ('k') | mojo/public/cpp/bindings/lib/validation_errors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698