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

Unified Diff: mojo/common/values.typemap

Issue 2803023005: Switch base::Value typemapping to be by value instead of by unique_ptr.
Patch Set: Created 3 years, 8 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/common_custom_types_unittest.cc ('k') | mojo/common/values_struct_traits.h » ('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 f1f3fc2772fb055951c0b28f4f4321eccd75506e..b6d378797fb025e1bbfb0ea8a9b02d0fd704387e 100644
--- a/mojo/common/values.typemap
+++ b/mojo/common/values.typemap
@@ -18,8 +18,8 @@ sources = [
]
type_mappings = [
- "mojo.common.mojom.DictionaryValue=std::unique_ptr<base::DictionaryValue>[move_only,nullable_is_same_type]",
- "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]",
+ "mojo.common.mojom.DictionaryValue=base::DictionaryValue",
+ "mojo.common.mojom.LegacyListValue=base::ListValue",
+ "mojo.common.mojom.ListValue=base::ListValue",
+ "mojo.common.mojom.Value=base::Value",
]
« no previous file with comments | « mojo/common/common_custom_types_unittest.cc ('k') | mojo/common/values_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698