| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_INTERCEPTORS_H_ | 5 #ifndef SANDBOX_SRC_INTERCEPTORS_H_ |
| 6 #define SANDBOX_SRC_INTERCEPTORS_H_ | 6 #define SANDBOX_SRC_INTERCEPTORS_H_ |
| 7 | 7 |
| 8 #if defined(_WIN64) | 8 #if defined(_WIN64) |
| 9 #include "sandbox/src/interceptors_64.h" | 9 #include "sandbox/win/src/interceptors_64.h" |
| 10 #endif | 10 #endif |
| 11 | 11 |
| 12 namespace sandbox { | 12 namespace sandbox { |
| 13 | 13 |
| 14 enum InterceptorId { | 14 enum InterceptorId { |
| 15 // Internal use: | 15 // Internal use: |
| 16 MAP_VIEW_OF_SECTION_ID = 0, | 16 MAP_VIEW_OF_SECTION_ID = 0, |
| 17 UNMAP_VIEW_OF_SECTION_ID, | 17 UNMAP_VIEW_OF_SECTION_ID, |
| 18 // Policy broker: | 18 // Policy broker: |
| 19 SET_INFORMATION_THREAD_ID, | 19 SET_INFORMATION_THREAD_ID, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 45 CREATE_THREAD_ID, | 45 CREATE_THREAD_ID, |
| 46 GET_USER_DEFAULT_LCID_ID, | 46 GET_USER_DEFAULT_LCID_ID, |
| 47 INTERCEPTOR_MAX_ID | 47 INTERCEPTOR_MAX_ID |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 typedef void* OriginalFunctions[INTERCEPTOR_MAX_ID]; | 50 typedef void* OriginalFunctions[INTERCEPTOR_MAX_ID]; |
| 51 | 51 |
| 52 } // namespace sandbox | 52 } // namespace sandbox |
| 53 | 53 |
| 54 #endif // SANDBOX_SRC_INTERCEPTORS_H_ | 54 #endif // SANDBOX_SRC_INTERCEPTORS_H_ |
| OLD | NEW |