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

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

Issue 2012693002: Generate a templated Clone method for all mojo structs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/struct_with_traits.mojom
diff --git a/mojo/public/interfaces/bindings/tests/struct_with_traits.mojom b/mojo/public/interfaces/bindings/tests/struct_with_traits.mojom
index 460003a470e90075922b4f063f24ef138dd3daeb..7bbb4336e92a0d8a48437f8e54de1882aa2651c6 100644
--- a/mojo/public/interfaces/bindings/tests/struct_with_traits.mojom
+++ b/mojo/public/interfaces/bindings/tests/struct_with_traits.mojom
@@ -19,6 +19,10 @@ struct StructWithTraits {
array<NestedStructWithTraits> f_struct_array;
};
+struct StructWithTraitsContainer {
+ StructWithTraits f_struct;
+};
+
struct PassByValueStructWithTraits {
handle f_handle;
};

Powered by Google App Engine
This is Rietveld 408576698