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

Unified Diff: mojo/public/interfaces/bindings/tests/sample_service.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
Index: mojo/public/interfaces/bindings/tests/sample_service.mojom
diff --git a/mojo/public/interfaces/bindings/tests/sample_service.mojom b/mojo/public/interfaces/bindings/tests/sample_service.mojom
index 93a2ec423283af4bcf8002311e026b1c5a56a8bf..e7803d8483709fd201f6107632ec2594dbd5a722 100644
--- a/mojo/public/interfaces/bindings/tests/sample_service.mojom
+++ b/mojo/public/interfaces/bindings/tests/sample_service.mojom
@@ -33,15 +33,15 @@ struct Foo {
bool a@2 = true;
bool b@3;
bool c@4;
- Bar bar@5;
- Bar[] extra_bars@7;
- uint8[] data@6;
- handle<message_pipe> source@9;
- handle<data_pipe_consumer>[] input_streams@10;
- handle<data_pipe_producer>[] output_streams@11;
- bool[][] array_of_array_of_bools@12;
- string[][][] multi_array_of_strings@13;
- bool[] array_of_bools@14;
+ Bar? bar@5;
+ Bar[]? extra_bars@7;
+ uint8[]? data@6;
+ handle<message_pipe>? source@9;
+ handle<data_pipe_consumer>[]? input_streams@10;
+ handle<data_pipe_producer>[]? output_streams@11;
+ bool[][]? array_of_array_of_bools@12;
+ string[][][]? multi_array_of_strings@13;
+ bool[]? array_of_bools@14;
};
struct DefaultsTest {
@@ -96,7 +96,7 @@ interface Service {
EXTRA
};
const uint8 kFavoriteBaz = 1;
- Frobinate@0(Foo foo@0, BazOptions baz@1, Port port@2);
+ Frobinate@0(Foo? foo@0, BazOptions baz@1, Port? port@2);
GetPort@1(Port& port @0);
};

Powered by Google App Engine
This is Rietveld 408576698