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_MAC_H_ | 5 #ifndef IPC_ATTACHMENT_BROKER_PRIVILEGED_MAC_H_ |
6 #define IPC_ATTACHMENT_BROKER_PRIVILEGED_MAC_H_ | 6 #define IPC_ATTACHMENT_BROKER_PRIVILEGED_MAC_H_ |
7 | 7 |
8 #include <mach/mach.h> | 8 #include <mach/mach.h> |
| 9 #include <stdint.h> |
9 | 10 |
10 #include <map> | 11 #include <map> |
11 | 12 |
12 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
13 #include "base/mac/scoped_mach_port.h" | 14 #include "base/mac/scoped_mach_port.h" |
14 #include "base/macros.h" | 15 #include "base/macros.h" |
15 #include "base/memory/scoped_vector.h" | 16 #include "base/memory/scoped_vector.h" |
16 #include "base/process/port_provider_mac.h" | 17 #include "base/process/port_provider_mac.h" |
17 #include "base/synchronization/lock.h" | 18 #include "base/synchronization/lock.h" |
18 #include "ipc/attachment_broker_privileged.h" | 19 #include "ipc/attachment_broker_privileged.h" |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 // processed. | 215 // processed. |
215 std::map<base::ProcessId, ScopedVector<AttachmentExtractor>*> extractors_; | 216 std::map<base::ProcessId, ScopedVector<AttachmentExtractor>*> extractors_; |
216 base::Lock extractors_lock_; | 217 base::Lock extractors_lock_; |
217 | 218 |
218 DISALLOW_COPY_AND_ASSIGN(AttachmentBrokerPrivilegedMac); | 219 DISALLOW_COPY_AND_ASSIGN(AttachmentBrokerPrivilegedMac); |
219 }; | 220 }; |
220 | 221 |
221 } // namespace IPC | 222 } // namespace IPC |
222 | 223 |
223 #endif // IPC_ATTACHMENT_BROKER_PRIVILEGED_MAC_H_ | 224 #endif // IPC_ATTACHMENT_BROKER_PRIVILEGED_MAC_H_ |
OLD | NEW |