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

Unified Diff: mojo/common/test_common_custom_types.mojom

Issue 2561003002: Add mojo structs for ScopedFD and ScopedHandle. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « mojo/common/platform_handle.typemap ('k') | mojo/common/test_invalid_typemapped_type.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/test_common_custom_types.mojom
diff --git a/mojo/common/test_common_custom_types.mojom b/mojo/common/test_common_custom_types.mojom
index aa4cbc3a07a5c86dc92a9516c2e02c31caf7897a..45c861b733235ccd8782445008f858135709b133 100644
--- a/mojo/common/test_common_custom_types.mojom
+++ b/mojo/common/test_common_custom_types.mojom
@@ -6,6 +6,7 @@ module mojo.common.test;
import "mojo/common/file.mojom";
import "mojo/common/file_path.mojom";
+import "mojo/common/platform_handle.mojom";
import "mojo/common/string16.mojom";
import "mojo/common/time.mojom";
import "mojo/common/unguessable_token.mojom";
@@ -47,3 +48,9 @@ interface TestFile {
BounceFile(mojo.common.mojom.File? in)
=> (mojo.common.mojom.File? out);
};
+
+interface TestPlatformHandle {
+ [Sync]
+ BouncePlatformHandle(mojo.common.mojom.PlatformHandle? in)
+ => (mojo.common.mojom.PlatformHandle? out);
+};
« no previous file with comments | « mojo/common/platform_handle.typemap ('k') | mojo/common/test_invalid_typemapped_type.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698