OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // IPC messages used by the attachment broker. | 5 // IPC messages used by the attachment broker. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/process/process_handle.h" | 8 #include "base/process/process_handle.h" |
| 9 #include "build/build_config.h" |
9 #include "ipc/brokerable_attachment.h" | 10 #include "ipc/brokerable_attachment.h" |
10 #include "ipc/ipc_export.h" | 11 #include "ipc/ipc_export.h" |
11 #include "ipc/ipc_message_macros.h" | 12 #include "ipc/ipc_message_macros.h" |
12 | 13 |
13 #if defined(OS_WIN) | 14 #if defined(OS_WIN) |
14 #include "ipc/handle_attachment_win.h" | 15 #include "ipc/handle_attachment_win.h" |
15 #endif // defined(OS_WIN) | 16 #endif // defined(OS_WIN) |
16 | 17 |
17 #if defined(OS_MACOSX) | 18 #if defined(OS_MACOSX) |
18 #include "ipc/mach_port_attachment_mac.h" | 19 #include "ipc/mach_port_attachment_mac.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 #endif // defined(OS_WIN) | 84 #endif // defined(OS_WIN) |
84 | 85 |
85 #if defined(OS_MACOSX) | 86 #if defined(OS_MACOSX) |
86 // Sent from a non-broker process to a broker process to request the duplication | 87 // Sent from a non-broker process to a broker process to request the duplication |
87 // of a Mach port into a different process (possibly the broker process, or even | 88 // of a Mach port into a different process (possibly the broker process, or even |
88 // the original process). | 89 // the original process). |
89 IPC_MESSAGE_CONTROL1( | 90 IPC_MESSAGE_CONTROL1( |
90 AttachmentBrokerMsg_DuplicateMachPort, | 91 AttachmentBrokerMsg_DuplicateMachPort, |
91 IPC::internal::MachPortAttachmentMac::WireFormat /* wire_format */) | 92 IPC::internal::MachPortAttachmentMac::WireFormat /* wire_format */) |
92 #endif // defined(OS_MACOSX) | 93 #endif // defined(OS_MACOSX) |
OLD | NEW |