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

Unified Diff: mojo/common/common_custom_types.typemap

Issue 2013433002: [Mojo] Add [Native] type traits for base::Values (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/common/common_custom_types.typemap
diff --git a/mojo/common/common_custom_types.typemap b/mojo/common/common_custom_types.typemap
index fc2c767a84f6841e8d1055d7b53e41c317c14dee..24136fbc58d75a842536985921df1046c61742fb 100644
--- a/mojo/common/common_custom_types.typemap
+++ b/mojo/common/common_custom_types.typemap
@@ -3,10 +3,14 @@
# found in the LICENSE file.
mojom = "//mojo/common/common_custom_types.mojom"
-public_headers = [ "//base/files/file_path.h" ]
+public_headers = [ "//base/files/file_path.h", "//base/values.h" ]
yzshen1 2016/05/24 17:54:41 Please put each path on a separate line, just like
Devlin 2016/05/24 18:05:56 Done.
traits_headers = [ "//ipc/ipc_message_utils.h" ]
deps = [
"//ipc",
]
-type_mappings = [ "mojo.common.mojom.FilePath=base::FilePath" ]
+type_mappings = [
+ "mojo.common.mojom.FilePath=base::FilePath",
+ "mojo.common.mojom.DictionaryValue=base::DictionaryValue",
+ "mojo.common.mojom.ListValue=base::ListValue",
+]

Powered by Google App Engine
This is Rietveld 408576698