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 #ifndef CONTENT_COMMON_SANDBOX_WIN_H_ | 5 #ifndef CONTENT_COMMON_SANDBOX_WIN_H_ |
6 #define CONTENT_COMMON_SANDBOX_WIN_H_ | 6 #define CONTENT_COMMON_SANDBOX_WIN_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 uint32_t ui_exceptions, | 29 uint32_t ui_exceptions, |
30 sandbox::TargetPolicy* policy); | 30 sandbox::TargetPolicy* policy); |
31 | 31 |
32 // Closes handles that are opened at process creation and initialization. | 32 // Closes handles that are opened at process creation and initialization. |
33 void AddBaseHandleClosePolicy(sandbox::TargetPolicy* policy); | 33 void AddBaseHandleClosePolicy(sandbox::TargetPolicy* policy); |
34 | 34 |
35 // Add AppContainer policy for |sid| on supported OS. | 35 // Add AppContainer policy for |sid| on supported OS. |
36 void AddAppContainerPolicy(sandbox::TargetPolicy* policy, const wchar_t* sid); | 36 void AddAppContainerPolicy(sandbox::TargetPolicy* policy, const wchar_t* sid); |
37 | 37 |
38 // Add the win32k lockdown policy on supported OS. | 38 // Add the win32k lockdown policy on supported OS. |
39 bool AddWin32kLockdownPolicy(sandbox::TargetPolicy* policy); | 39 bool AddWin32kLockdownPolicy(sandbox::TargetPolicy* policy, bool enable_opm); |
40 | 40 |
41 bool InitBrokerServices(sandbox::BrokerServices* broker_services); | 41 bool InitBrokerServices(sandbox::BrokerServices* broker_services); |
42 | 42 |
43 bool InitTargetServices(sandbox::TargetServices* target_services); | 43 bool InitTargetServices(sandbox::TargetServices* target_services); |
44 | 44 |
45 } // namespace content | 45 } // namespace content |
46 | 46 |
47 #endif // CONTENT_COMMON_SANDBOX_WIN_H_ | 47 #endif // CONTENT_COMMON_SANDBOX_WIN_H_ |
OLD | NEW |