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

Unified Diff: mojo/common/common_custom_types.typemap

Issue 2474783004: [ABANDONED] Make it possible to send unique_ptr<Value> over IPC/Mojo. (Closed)
Patch Set: Created 4 years, 1 month 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
« ipc/ipc_message_utils.cc ('K') | « mojo/common/common_custom_types.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/common_custom_types.typemap
diff --git a/mojo/common/common_custom_types.typemap b/mojo/common/common_custom_types.typemap
index ecd09e87be1ba6a7317dc416ec1dfa1c7d4a8b64..00a2acb5047e96b4daae371bf99c73f3e687830c 100644
--- a/mojo/common/common_custom_types.typemap
+++ b/mojo/common/common_custom_types.typemap
@@ -29,5 +29,6 @@ type_mappings = [
"mojo.common.mojom.Time=base::Time[copyable_pass_by_value]",
"mojo.common.mojom.TimeDelta=base::TimeDelta[copyable_pass_by_value]",
"mojo.common.mojom.TimeTicks=base::TimeTicks[copyable_pass_by_value]",
+ "mojo.common.mojom.Value=std::unique_ptr<base::Value>[move_only,nullable_is_same_type]",
"mojo.common.mojom.Version=base::Version",
]
« ipc/ipc_message_utils.cc ('K') | « mojo/common/common_custom_types.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698