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

Unified Diff: mojo/common/common_custom_types.typemap

Issue 2147693002: Struct traits used by GpuInfo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved Read() to .cc file Created 4 years, 5 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 e3197aa73fc22481284db15cd69c1cac3b6f33d0..2234d5e8e98ad53a5614572a65a40d82222831cd 100644
--- a/mojo/common/common_custom_types.typemap
+++ b/mojo/common/common_custom_types.typemap
@@ -7,8 +7,15 @@ public_headers = [
"//base/files/file_path.h",
"//base/values.h",
"//base/time/time.h",
+ "//base/version.h",
+]
+traits_headers = [
+ "//ipc/ipc_message_utils.h",
+ "//mojo/common/common_custom_types_struct_traits.h",
+]
+sources = [
Ken Rockot(use gerrit already) 2016/07/27 20:05:25 Do not add sources to typemaps. Please create a n
Alex Z. 2016/07/28 19:40:44 I have found sources in other typemap files. For e
Ken Rockot(use gerrit already) 2016/07/28 19:46:36 Hmm. I didn't think we supported this, but mojom.g
+ "//mojo/common/common_custom_types_struct_traits.cc",
]
-traits_headers = [ "//ipc/ipc_message_utils.h" ]
public_deps = [
"//ipc",
]
@@ -20,4 +27,5 @@ 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.Version=base::Version",
]

Powered by Google App Engine
This is Rietveld 408576698