OLD | NEW |
1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2010 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_PROCESS_THREAD_POLICY_H_ | 5 #ifndef SANDBOX_SRC_PROCESS_THREAD_POLICY_H_ |
6 #define SANDBOX_SRC_PROCESS_THREAD_POLICY_H_ | 6 #define SANDBOX_SRC_PROCESS_THREAD_POLICY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "sandbox/src/policy_low_level.h" | 10 #include "sandbox/win/src/policy_low_level.h" |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "sandbox/src/crosscall_server.h" | 13 #include "sandbox/win/src/crosscall_server.h" |
14 #include "sandbox/src/sandbox_policy.h" | 14 #include "sandbox/win/src/sandbox_policy.h" |
15 | 15 |
16 namespace sandbox { | 16 namespace sandbox { |
17 | 17 |
18 enum EvalResult; | 18 enum EvalResult; |
19 | 19 |
20 // This class centralizes most of the knowledge related to process execution. | 20 // This class centralizes most of the knowledge related to process execution. |
21 class ProcessPolicy { | 21 class ProcessPolicy { |
22 public: | 22 public: |
23 // Creates the required low-level policy rules to evaluate a high-level. | 23 // Creates the required low-level policy rules to evaluate a high-level. |
24 // policy rule for process creation | 24 // policy rule for process creation |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 const ClientInfo& client_info, | 73 const ClientInfo& client_info, |
74 const std::wstring &app_name, | 74 const std::wstring &app_name, |
75 const std::wstring &command_line, | 75 const std::wstring &command_line, |
76 PROCESS_INFORMATION* process_info); | 76 PROCESS_INFORMATION* process_info); |
77 }; | 77 }; |
78 | 78 |
79 } // namespace sandbox | 79 } // namespace sandbox |
80 | 80 |
81 | 81 |
82 #endif // SANDBOX_SRC_PROCESS_THREAD_POLICY_H_ | 82 #endif // SANDBOX_SRC_PROCESS_THREAD_POLICY_H_ |
OLD | NEW |