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_H_ | 5 #ifndef IPC_ATTACHMENT_BROKER_PRIVILEGED_H_ |
6 #define IPC_ATTACHMENT_BROKER_PRIVILEGED_H_ | 6 #define IPC_ATTACHMENT_BROKER_PRIVILEGED_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "build/build_config.h" |
11 #include "ipc/attachment_broker.h" | 13 #include "ipc/attachment_broker.h" |
12 #include "ipc/ipc_export.h" | 14 #include "ipc/ipc_export.h" |
13 | 15 |
14 #if defined(OS_MACOSX) && !defined(OS_IOS) | 16 #if defined(OS_MACOSX) && !defined(OS_IOS) |
15 namespace base { | 17 namespace base { |
16 class PortProvider; | 18 class PortProvider; |
17 } // namespace base | 19 } // namespace base |
18 #endif // defined(OS_MACOSX) && !defined(OS_IOS) | 20 #endif // defined(OS_MACOSX) && !defined(OS_IOS) |
19 | 21 |
20 namespace IPC { | 22 namespace IPC { |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 void LogError(UMAError error); | 99 void LogError(UMAError error); |
98 | 100 |
99 private: | 101 private: |
100 std::vector<Endpoint*> endpoints_; | 102 std::vector<Endpoint*> endpoints_; |
101 DISALLOW_COPY_AND_ASSIGN(AttachmentBrokerPrivileged); | 103 DISALLOW_COPY_AND_ASSIGN(AttachmentBrokerPrivileged); |
102 }; | 104 }; |
103 | 105 |
104 } // namespace IPC | 106 } // namespace IPC |
105 | 107 |
106 #endif // IPC_ATTACHMENT_BROKER_PRIVILEGED_H_ | 108 #endif // IPC_ATTACHMENT_BROKER_PRIVILEGED_H_ |
OLD | NEW |