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

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: Changed according to comments 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 8d88109d8c1352af4e1ba676325c3070c3417a7d..2f3acc243d2aa3210de2c5ce8165213818fa1ac6 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 = [
+ "//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",
"mojo.common.mojom.TimeDelta=base::TimeDelta",
"mojo.common.mojom.TimeTicks=base::TimeTicks",
+ "mojo.common.mojom.Version=base::Version",
]

Powered by Google App Engine
This is Rietveld 408576698