Index: ipc/file_descriptor_set_posix.h |
diff --git a/ipc/file_descriptor_set_posix.h b/ipc/file_descriptor_set_posix.h |
index f9c6033c2a62a71483eb2e0d528e5acf8aa63fa3..340c563bd306ba17e1f8573af621fb76bed948d9 100644 |
--- a/ipc/file_descriptor_set_posix.h |
+++ b/ipc/file_descriptor_set_posix.h |
@@ -77,6 +77,9 @@ class IPC_EXPORT FileDescriptorSet |
// Returns true if any contained file descriptors appear to be handles to a |
// directory. |
bool ContainsDirectoryDescriptor() const; |
+ // Fetch all filedescriptors with the "auto close" property. |
+ // Used instead of CommitAll() when closing must be handled manually. |
+ void GetFDsToCloseAndClear(std::vector<int>* fds); |
agl
2013/10/09 21:52:38
This looks more like a "release" operation than a
hubbe
2013/10/09 21:59:40
Done.
|
// --------------------------------------------------------------------------- |