summaryrefslogtreecommitdiffstats
path: root/ipc/file_descriptor_set_posix.h
diff options
context:
space:
mode:
authorhubbe@chromium.org <hubbe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-10 21:12:14 +0000
committerhubbe@chromium.org <hubbe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-10 21:12:14 +0000
commit6b47b4d5738da9dd70db9f638f7858dd12da86da (patch)
treeb73c04bc351ba43dbd8b54eeeacb3729047b8630 /ipc/file_descriptor_set_posix.h
parente31473843740b48df1f8f0969101e39b8ecf14da (diff)
downloadchromium_src-6b47b4d5738da9dd70db9f638f7858dd12da86da.zip
chromium_src-6b47b4d5738da9dd70db9f638f7858dd12da86da.tar.gz
chromium_src-6b47b4d5738da9dd70db9f638f7858dd12da86da.tar.bz2
Alternative workaround for mac kernel bug.
BUG=298276 Review URL: https://codereview.chromium.org/25325002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227999 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/file_descriptor_set_posix.h')
-rw-r--r--ipc/file_descriptor_set_posix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipc/file_descriptor_set_posix.h b/ipc/file_descriptor_set_posix.h
index f9c6033..b413b4a 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 ReleaseFDsToClose(std::vector<int>* fds);
// ---------------------------------------------------------------------------