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