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

Unified Diff: mojo/common/common_custom_types.mojom

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.mojom
diff --git a/mojo/common/common_custom_types.mojom b/mojo/common/common_custom_types.mojom
index 203fa3c844d7283d0570cb03f5d6513d315a0906..bd3c5d97d4ec9d46d9af7267cea0e8c771d0c64a 100644
--- a/mojo/common/common_custom_types.mojom
+++ b/mojo/common/common_custom_types.mojom
@@ -40,3 +40,8 @@ struct UnguessableToken {
struct Version {
array<uint32> components;
};
+
+// Corresponds to |base::File| in base/files/file.h
+struct File {
+ handle fd;
+};

Powered by Google App Engine
This is Rietveld 408576698