| 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 // Defines InterceptionManager, the class in charge of setting up interceptions | 5 // Defines InterceptionManager, the class in charge of setting up interceptions |
| 6 // for the sandboxed process. For more details see: | 6 // for 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_INTERNAL_H_ | 9 #ifndef SANDBOX_SRC_INTERCEPTION_INTERNAL_H_ |
| 10 #define SANDBOX_SRC_INTERCEPTION_INTERNAL_H_ | 10 #define SANDBOX_SRC_INTERCEPTION_INTERNAL_H_ |
| 11 | 11 |
| 12 #include <stddef.h> | |
| 13 | |
| 14 #include "sandbox/win/src/sandbox_types.h" | 12 #include "sandbox/win/src/sandbox_types.h" |
| 15 | 13 |
| 16 namespace sandbox { | 14 namespace sandbox { |
| 17 | 15 |
| 18 const int kMaxThunkDataBytes = 64; | 16 const int kMaxThunkDataBytes = 64; |
| 19 | 17 |
| 20 enum InterceptorId; | 18 enum InterceptorId; |
| 21 | 19 |
| 22 // The following structures contain variable size fields at the end, and will be | 20 // The following structures contain variable size fields at the end, and will be |
| 23 // used to transfer information between two processes. In order to guarantee | 21 // used to transfer information between two processes. In order to guarantee |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 int dummy; // Improve alignment. | 67 int dummy; // Improve alignment. |
| 70 #endif | 68 #endif |
| 71 ThunkData thunks[1]; | 69 ThunkData thunks[1]; |
| 72 }; | 70 }; |
| 73 | 71 |
| 74 #pragma pack(pop) | 72 #pragma pack(pop) |
| 75 | 73 |
| 76 } // namespace sandbox | 74 } // namespace sandbox |
| 77 | 75 |
| 78 #endif // SANDBOX_SRC_INTERCEPTION_INTERNAL_H_ | 76 #endif // SANDBOX_SRC_INTERCEPTION_INTERNAL_H_ |
| OLD | NEW |