summaryrefslogtreecommitdiffstats
path: root/base/file_descriptor_posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/file_descriptor_posix.h')
-rw-r--r--base/file_descriptor_posix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/file_descriptor_posix.h b/base/file_descriptor_posix.h
index 8ebc5be..0bcd4b6 100644
--- a/base/file_descriptor_posix.h
+++ b/base/file_descriptor_posix.h
@@ -10,6 +10,10 @@ namespace base {
// -----------------------------------------------------------------------------
// We introduct a special structure for file descriptors in order that we are
// able to use template specialisation to special-case their handling.
+//
+// WARNING: (Chromium only) There are subtleties to consider if serialising
+// these objects over IPC. See comments in chrome/common/ipc_message_utils.h
+// above the template specialisation for this structure.
// -----------------------------------------------------------------------------
struct FileDescriptor {
FileDescriptor()