OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_POLICY_ENGINE_PARAMS_H__ | 5 #ifndef SANDBOX_SRC_POLICY_ENGINE_PARAMS_H__ |
6 #define SANDBOX_SRC_POLICY_ENGINE_PARAMS_H__ | 6 #define SANDBOX_SRC_POLICY_ENGINE_PARAMS_H__ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "sandbox/src/internal_types.h" | 9 #include "sandbox/win/src/internal_types.h" |
10 #include "sandbox/src/nt_internals.h" | 10 #include "sandbox/win/src/nt_internals.h" |
11 #include "sandbox/src/sandbox_nt_util.h" | 11 #include "sandbox/win/src/sandbox_nt_util.h" |
12 | 12 |
13 // This header defines the classes that allow the low level policy to select | 13 // This header defines the classes that allow the low level policy to select |
14 // the input parameters. In order to better make sense of this header is | 14 // the input parameters. In order to better make sense of this header is |
15 // recommended that you check policy_engine_opcodes.h first. | 15 // recommended that you check policy_engine_opcodes.h first. |
16 | 16 |
17 namespace sandbox { | 17 namespace sandbox { |
18 | 18 |
19 // Models the set of interesting parameters of an intercepted system call | 19 // Models the set of interesting parameters of an intercepted system call |
20 // normally you don't create objects of this class directly, instead you | 20 // normally you don't create objects of this class directly, instead you |
21 // use the POLPARAMS_XXX macros. | 21 // use the POLPARAMS_XXX macros. |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 return reinterpret_cast<CountedParameterSetBase*>(this); | 193 return reinterpret_cast<CountedParameterSetBase*>(this); |
194 } | 194 } |
195 | 195 |
196 int count; | 196 int count; |
197 ParameterSet parameters[T::PolParamLast]; | 197 ParameterSet parameters[T::PolParamLast]; |
198 }; | 198 }; |
199 | 199 |
200 } // namespace sandbox | 200 } // namespace sandbox |
201 | 201 |
202 #endif // SANDBOX_SRC_POLICY_ENGINE_PARAMS_H__ | 202 #endif // SANDBOX_SRC_POLICY_ENGINE_PARAMS_H__ |
OLD | NEW |