OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 SANDBOX_MAC_BOOTSTRAP_SANDBOX_H_ | 5 #ifndef SANDBOX_MAC_BOOTSTRAP_SANDBOX_H_ |
6 #define SANDBOX_MAC_BOOTSTRAP_SANDBOX_H_ | 6 #define SANDBOX_MAC_BOOTSTRAP_SANDBOX_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 #include <string> | 12 #include <string> |
12 | 13 |
13 #include "base/mac/dispatch_source_mach.h" | 14 #include "base/mac/dispatch_source_mach.h" |
14 #include "base/mac/scoped_mach_port.h" | 15 #include "base/mac/scoped_mach_port.h" |
15 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
16 #include "base/process/process_handle.h" | 17 #include "base/process/process_handle.h" |
17 #include "base/synchronization/lock.h" | 18 #include "base/synchronization/lock.h" |
18 #include "sandbox/mac/policy.h" | 19 #include "sandbox/mac/policy.h" |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 | 122 |
122 // The port and dispatch source for receiving client check in messages sent | 123 // The port and dispatch source for receiving client check in messages sent |
123 // via ClientCheckIn(). | 124 // via ClientCheckIn(). |
124 base::mac::ScopedMachReceiveRight check_in_port_; | 125 base::mac::ScopedMachReceiveRight check_in_port_; |
125 scoped_ptr<base::DispatchSourceMach> check_in_server_; | 126 scoped_ptr<base::DispatchSourceMach> check_in_server_; |
126 }; | 127 }; |
127 | 128 |
128 } // namespace sandbox | 129 } // namespace sandbox |
129 | 130 |
130 #endif // SANDBOX_MAC_BOOTSTRAP_SANDBOX_H_ | 131 #endif // SANDBOX_MAC_BOOTSTRAP_SANDBOX_H_ |
OLD | NEW |