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