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

Unified Diff: mojo/common/values.typemap

Issue 2689513003: Add field-initializing constructors to generated mojo structs. (Closed)
Patch Set: rebase Created 3 years, 10 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
« no previous file with comments | « mojo/common/OWNERS ('k') | mojo/public/cpp/bindings/lib/native_struct.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/values.typemap
diff --git a/mojo/common/values.typemap b/mojo/common/values.typemap
index 069c277940b2c8e083ee310c994b34d4558b5274..f1f3fc2772fb055951c0b28f4f4321eccd75506e 100644
--- a/mojo/common/values.typemap
+++ b/mojo/common/values.typemap
@@ -19,7 +19,7 @@ sources = [
type_mappings = [
"mojo.common.mojom.DictionaryValue=std::unique_ptr<base::DictionaryValue>[move_only,nullable_is_same_type]",
- "mojo.common.mojom.LegacyListValue=base::ListValue",
+ "mojo.common.mojom.LegacyListValue=base::ListValue[non_copyable_non_movable]",
"mojo.common.mojom.ListValue=std::unique_ptr<base::ListValue>[move_only,nullable_is_same_type]",
"mojo.common.mojom.Value=std::unique_ptr<base::Value>[move_only,nullable_is_same_type]",
]
« no previous file with comments | « mojo/common/OWNERS ('k') | mojo/public/cpp/bindings/lib/native_struct.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698