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 #ifndef IPC_ATTACHMENT_BROKER_UNPRIVILEGED_MAC_H_ | 5 #ifndef IPC_ATTACHMENT_BROKER_UNPRIVILEGED_MAC_H_ |
6 #define IPC_ATTACHMENT_BROKER_UNPRIVILEGED_MAC_H_ | 6 #define IPC_ATTACHMENT_BROKER_UNPRIVILEGED_MAC_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "ipc/attachment_broker_unprivileged.h" | 9 #include "ipc/attachment_broker_unprivileged.h" |
9 #include "ipc/ipc_export.h" | 10 #include "ipc/ipc_export.h" |
10 #include "ipc/mach_port_attachment_mac.h" | 11 #include "ipc/mach_port_attachment_mac.h" |
11 | 12 |
12 namespace IPC { | 13 namespace IPC { |
13 | 14 |
14 class BrokerableAttachment; | 15 class BrokerableAttachment; |
15 | 16 |
16 // This class is an implementation of AttachmentBroker for the OSX platform | 17 // This class is an implementation of AttachmentBroker for the OSX platform |
17 // for non-privileged processes. | 18 // for non-privileged processes. |
(...skipping 15 matching lines...) Expand all Loading... |
33 // IPC message handlers. | 34 // IPC message handlers. |
34 void OnMachPortHasBeenDuplicated( | 35 void OnMachPortHasBeenDuplicated( |
35 const IPC::internal::MachPortAttachmentMac::WireFormat& wire_format); | 36 const IPC::internal::MachPortAttachmentMac::WireFormat& wire_format); |
36 | 37 |
37 DISALLOW_COPY_AND_ASSIGN(AttachmentBrokerUnprivilegedMac); | 38 DISALLOW_COPY_AND_ASSIGN(AttachmentBrokerUnprivilegedMac); |
38 }; | 39 }; |
39 | 40 |
40 } // namespace IPC | 41 } // namespace IPC |
41 | 42 |
42 #endif // IPC_ATTACHMENT_BROKER_UNPRIVILEGED_MAC_H_ | 43 #endif // IPC_ATTACHMENT_BROKER_UNPRIVILEGED_MAC_H_ |
OLD | NEW |