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 SANDBOX_SRC_HANDLE_POLICY_H_ | 5 #ifndef SANDBOX_SRC_HANDLE_POLICY_H_ |
6 #define SANDBOX_SRC_HANDLE_POLICY_H_ | 6 #define SANDBOX_SRC_HANDLE_POLICY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/basictypes.h" |
10 #include "sandbox/win/src/crosscall_server.h" | 11 #include "sandbox/win/src/crosscall_server.h" |
11 #include "sandbox/win/src/policy_low_level.h" | 12 #include "sandbox/win/src/policy_low_level.h" |
12 #include "sandbox/win/src/sandbox_policy.h" | 13 #include "sandbox/win/src/sandbox_policy.h" |
13 | 14 |
14 namespace sandbox { | 15 namespace sandbox { |
15 | 16 |
16 enum EvalResult; | 17 enum EvalResult; |
17 | 18 |
18 // This class centralizes most of the knowledge related to handle policy. | 19 // This class centralizes most of the knowledge related to handle policy. |
19 class HandlePolicy { | 20 class HandlePolicy { |
(...skipping 10 matching lines...) Expand all Loading... |
30 DWORD target_process_id, | 31 DWORD target_process_id, |
31 HANDLE* target_handle, | 32 HANDLE* target_handle, |
32 DWORD desired_access, | 33 DWORD desired_access, |
33 DWORD options); | 34 DWORD options); |
34 }; | 35 }; |
35 | 36 |
36 } // namespace sandbox | 37 } // namespace sandbox |
37 | 38 |
38 #endif // SANDBOX_SRC_HANDLE_POLICY_H_ | 39 #endif // SANDBOX_SRC_HANDLE_POLICY_H_ |
39 | 40 |
OLD | NEW |