| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "content/common/sandbox_policy.h" | 5 #include "content/common/sandbox_policy.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/debug/debugger.h" | 10 #include "base/debug/debugger.h" |
| (...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 837 desired_access, FALSE, options); | 837 desired_access, FALSE, options); |
| 838 } | 838 } |
| 839 | 839 |
| 840 return false; | 840 return false; |
| 841 } | 841 } |
| 842 | 842 |
| 843 bool BrokerAddTargetPeer(HANDLE peer_process) { | 843 bool BrokerAddTargetPeer(HANDLE peer_process) { |
| 844 return g_broker_services->AddTargetPeer(peer_process) == sandbox::SBOX_ALL_OK; | 844 return g_broker_services->AddTargetPeer(peer_process) == sandbox::SBOX_ALL_OK; |
| 845 } | 845 } |
| 846 | 846 |
| 847 base::ProcessHandle StartProcessWithAccess( |
| 848 CommandLine* cmd_line, |
| 849 const FilePath& exposed_dir) { |
| 850 return sandbox::StartProcessWithAccess(cmd_line, exposed_dir); |
| 851 } |
| 852 |
| 847 } // namespace content | 853 } // namespace content |
| OLD | NEW |