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

Unified Diff: mojo/public/interfaces/bindings/tests/test_native_types.mojom

Issue 1515423002: [mojo] Add mojom parser support for native-only structs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pickle2
Patch Set: oops Created 5 years 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/test_native_types.mojom
diff --git a/mojo/public/interfaces/bindings/tests/scoping.mojom b/mojo/public/interfaces/bindings/tests/test_native_types.mojom
similarity index 63%
copy from mojo/public/interfaces/bindings/tests/scoping.mojom
copy to mojo/public/interfaces/bindings/tests/test_native_types.mojom
index 2e9edb10b4eddfca591bdf64966238b9a75fbe2f..3537703ec9a054343d0af35b6526a070291f7cc9 100644
--- a/mojo/public/interfaces/bindings/tests/scoping.mojom
+++ b/mojo/public/interfaces/bindings/tests/test_native_types.mojom
@@ -4,14 +4,8 @@
module mojo.test;
-interface A {
- GetB(B& b);
-};
+// Used to verify that structs can be declared with no body in mojom.
-interface B {
- GetC(C& c);
-};
+[native=True]
+struct PickledStruct;
-interface C {
- D();
-};
« no previous file with comments | « mojo/public/interfaces/bindings/tests/BUILD.gn ('k') | mojo/public/tools/bindings/pylib/mojom/generate/data.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698