summaryrefslogtreecommitdiffstats
path: root/chrome/common/file_descriptor_posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/file_descriptor_posix.h')
-rw-r--r--chrome/common/file_descriptor_posix.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/common/file_descriptor_posix.h b/chrome/common/file_descriptor_posix.h
index 533992e..43590b0 100644
--- a/chrome/common/file_descriptor_posix.h
+++ b/chrome/common/file_descriptor_posix.h
@@ -101,6 +101,15 @@ class DescriptorSet {
// ---------------------------------------------------------------------------
+ // ---------------------------------------------------------------------------
+ // Interfaces for IPC::Message...
+
+ // Take all the FileDescriptors from another set. Just like a copy
+ // constructor, except that the source is emptied.
+ void TakeFrom(DescriptorSet* other);
+
+ // ---------------------------------------------------------------------------
+
private:
// A vector of descriptors and close flags. If this message is sent, then
// these descriptors are sent as control data. After sending, any descriptors