| 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_PRIVILEGED_WIN_H_ | 5 #ifndef IPC_ATTACHMENT_BROKER_PRIVILEGED_WIN_H_ |
| 6 #define IPC_ATTACHMENT_BROKER_PRIVILEGED_WIN_H_ | 6 #define IPC_ATTACHMENT_BROKER_PRIVILEGED_WIN_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "ipc/attachment_broker_privileged.h" | 9 #include "ipc/attachment_broker_privileged.h" |
| 9 #include "ipc/handle_attachment_win.h" | 10 #include "ipc/handle_attachment_win.h" |
| 10 #include "ipc/ipc_export.h" | 11 #include "ipc/ipc_export.h" |
| 11 | 12 |
| 12 namespace IPC { | 13 namespace IPC { |
| 13 | 14 |
| 14 // This class is a concrete subclass of AttachmentBrokerPrivileged for the | 15 // This class is a concrete subclass of AttachmentBrokerPrivileged for the |
| 15 // Windows platform. | 16 // Windows platform. |
| 16 class IPC_EXPORT AttachmentBrokerPrivilegedWin | 17 class IPC_EXPORT AttachmentBrokerPrivilegedWin |
| 17 : public AttachmentBrokerPrivileged { | 18 : public AttachmentBrokerPrivileged { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 44 // If the HANDLE's destination is this process, queue it and notify the | 45 // If the HANDLE's destination is this process, queue it and notify the |
| 45 // observers. Otherwise, send it in an IPC to its destination. | 46 // observers. Otherwise, send it in an IPC to its destination. |
| 46 void RouteDuplicatedHandle(const HandleWireFormat& wire_format); | 47 void RouteDuplicatedHandle(const HandleWireFormat& wire_format); |
| 47 | 48 |
| 48 DISALLOW_COPY_AND_ASSIGN(AttachmentBrokerPrivilegedWin); | 49 DISALLOW_COPY_AND_ASSIGN(AttachmentBrokerPrivilegedWin); |
| 49 }; | 50 }; |
| 50 | 51 |
| 51 } // namespace IPC | 52 } // namespace IPC |
| 52 | 53 |
| 53 #endif // IPC_ATTACHMENT_BROKER_PRIVILEGED_WIN_H_ | 54 #endif // IPC_ATTACHMENT_BROKER_PRIVILEGED_WIN_H_ |
| OLD | NEW |