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 // Defines InterceptionAgent, the class in charge of setting up interceptions | 5 // Defines InterceptionAgent, the class in charge of setting up interceptions |
6 // from the inside of the sandboxed process. For more details see | 6 // from the inside of the sandboxed process. For more details see |
7 // http://dev.chromium.org/developers/design-documents/sandbox . | 7 // http://dev.chromium.org/developers/design-documents/sandbox . |
8 | 8 |
9 #ifndef SANDBOX_SRC_INTERCEPTION_AGENT_H__ | 9 #ifndef SANDBOX_SRC_INTERCEPTION_AGENT_H__ |
10 #define SANDBOX_SRC_INTERCEPTION_AGENT_H__ | 10 #define SANDBOX_SRC_INTERCEPTION_AGENT_H__ |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/macros.h" |
13 #include "sandbox/win/src/nt_internals.h" | 13 #include "sandbox/win/src/nt_internals.h" |
14 #include "sandbox/win/src/sandbox_types.h" | 14 #include "sandbox/win/src/sandbox_types.h" |
15 | 15 |
16 namespace sandbox { | 16 namespace sandbox { |
17 | 17 |
18 // Internal structures used for communication between the broker and the target. | 18 // Internal structures used for communication between the broker and the target. |
19 struct DllInterceptionData; | 19 struct DllInterceptionData; |
20 struct SharedMemory; | 20 struct SharedMemory; |
21 struct DllPatchInfo; | 21 struct DllPatchInfo; |
22 | 22 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // is allocated with a placement new with enough space to hold the complete | 78 // is allocated with a placement new with enough space to hold the complete |
79 // array of pointers, not just the first element. | 79 // array of pointers, not just the first element. |
80 DllInterceptionData* dlls_[1]; | 80 DllInterceptionData* dlls_[1]; |
81 | 81 |
82 DISALLOW_IMPLICIT_CONSTRUCTORS(InterceptionAgent); | 82 DISALLOW_IMPLICIT_CONSTRUCTORS(InterceptionAgent); |
83 }; | 83 }; |
84 | 84 |
85 } // namespace sandbox | 85 } // namespace sandbox |
86 | 86 |
87 #endif // SANDBOX_SRC_INTERCEPTION_AGENT_H__ | 87 #endif // SANDBOX_SRC_INTERCEPTION_AGENT_H__ |
OLD | NEW |