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_H_ | 5 #ifndef IPC_ATTACHMENT_BROKER_UNPRIVILEGED_H_ |
6 #define IPC_ATTACHMENT_BROKER_UNPRIVILEGED_H_ | 6 #define IPC_ATTACHMENT_BROKER_UNPRIVILEGED_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "ipc/attachment_broker.h" | 10 #include "ipc/attachment_broker.h" |
10 #include "ipc/ipc_export.h" | 11 #include "ipc/ipc_export.h" |
11 | 12 |
12 namespace IPC { | 13 namespace IPC { |
13 | 14 |
14 class Endpoint; | 15 class Endpoint; |
15 class Sender; | 16 class Sender; |
16 | 17 |
17 // This abstract subclass of AttachmentBroker is intended for use in | 18 // This abstract subclass of AttachmentBroker is intended for use in |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 private: | 57 private: |
57 // |sender_| is used to send Messages to the privileged broker process. | 58 // |sender_| is used to send Messages to the privileged broker process. |
58 // |sender_| must live at least as long as this instance. | 59 // |sender_| must live at least as long as this instance. |
59 IPC::Sender* sender_; | 60 IPC::Sender* sender_; |
60 DISALLOW_COPY_AND_ASSIGN(AttachmentBrokerUnprivileged); | 61 DISALLOW_COPY_AND_ASSIGN(AttachmentBrokerUnprivileged); |
61 }; | 62 }; |
62 | 63 |
63 } // namespace IPC | 64 } // namespace IPC |
64 | 65 |
65 #endif // IPC_ATTACHMENT_BROKER_UNPRIVILEGED_H_ | 66 #endif // IPC_ATTACHMENT_BROKER_UNPRIVILEGED_H_ |
OLD | NEW |