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

Unified Diff: mojo/common/common_custom_types.typemap

Issue 2524293002: Add a mojo struct corresponding and typemapped to base::File. (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
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..f0f9e80f8587c42c4539c6f2a06d4a5dcd4cb294 100644
--- a/mojo/common/common_custom_types.typemap
+++ b/mojo/common/common_custom_types.typemap
@@ -4,6 +4,7 @@
mojom = "//mojo/common/common_custom_types.mojom"
public_headers = [
+ "//base/files/file.h",
"//base/files/file_path.h",
"//base/strings/string16.h",
"//base/time/time.h",
@@ -21,6 +22,7 @@ public_deps = [
]
type_mappings = [
+ "mojo.common.mojom.File=base::File[move_only,nullable_is_same_type]",
"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