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

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: 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 67%
copy from mojo/public/interfaces/bindings/tests/scoping.mojom
copy to mojo/public/interfaces/bindings/tests/test_native_types.mojom
index 2e9edb10b4eddfca591bdf64966238b9a75fbe2f..b23d411212741b90b0ad516f64fb00bab4afb975 100644
--- a/mojo/public/interfaces/bindings/tests/scoping.mojom
+++ b/mojo/public/interfaces/bindings/tests/test_native_types.mojom
@@ -4,14 +4,7 @@
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);
-};
+struct PickledStruct;
yzshen1 2015/12/14 21:33:10 This looks like a "forward declaration". What do
-interface C {
- D();
-};

Powered by Google App Engine
This is Rietveld 408576698