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

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

Issue 1821073002: Mojo bindings: Fix typemap includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/test_native_types.mojom
diff --git a/mojo/public/interfaces/bindings/tests/test_native_types.mojom b/mojo/public/interfaces/bindings/tests/test_native_types.mojom
index 3fceddefce0188686260feb4ea3a9c5b2ee9614b..4bfeba1176742e71e6775b1bd4dd3562d72565d6 100644
--- a/mojo/public/interfaces/bindings/tests/test_native_types.mojom
+++ b/mojo/public/interfaces/bindings/tests/test_native_types.mojom
@@ -4,7 +4,7 @@
module mojo.test;
-// import "mojo/public/interfaces/bindings/tests/rect.mojom";
+import "mojo/public/interfaces/bindings/tests/rect.mojom";
// Used to verify that structs can be declared with no body in mojom.
@@ -23,11 +23,10 @@ interface PicklePasser {
=> (array<array<PickledStruct>> passed);
};
-// TODO: crbug.com/596202
// Used to verify support for native serialization of mojom-defined structs
// using StrucTraits with different variants of the Rect type from rect.mojom.
-// interface RectService {
-// AddRect(Rect r);
-// GetLargestRect() => (Rect largest);
-// };
+interface RectService {
+ AddRect(TypemappedRect r);
+ GetLargestRect() => (TypemappedRect largest);
+};

Powered by Google App Engine
This is Rietveld 408576698