summaryrefslogtreecommitdiffstats
path: root/ipc/attachment_broker_messages.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/attachment_broker_messages.h')
-rw-r--r--ipc/attachment_broker_messages.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipc/attachment_broker_messages.h b/ipc/attachment_broker_messages.h
index 066e19c..f0e103d 100644
--- a/ipc/attachment_broker_messages.h
+++ b/ipc/attachment_broker_messages.h
@@ -19,9 +19,13 @@
// ----------------------------------------------------------------------------
#if defined(OS_WIN)
+// Define the serialization for Permissions.
+IPC_ENUM_TRAITS_MAX_VALUE(HandleWin::Permissions, HandleWin::MAX_PERMISSIONS);
+
IPC_STRUCT_TRAITS_BEGIN(IPC::internal::HandleAttachmentWin::WireFormat)
IPC_STRUCT_TRAITS_MEMBER(handle)
IPC_STRUCT_TRAITS_MEMBER(destination_process)
+ IPC_STRUCT_TRAITS_MEMBER(permissions)
IPC_STRUCT_TRAITS_MEMBER(attachment_id)
IPC_STRUCT_TRAITS_END()
#endif // defined(OS_WIN)