| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_MITIGATIONS_WIN32K_INTERCEPTION_H_ | 5 #ifndef SANDBOX_SRC_PROCESS_MITIGATIONS_WIN32K_INTERCEPTION_H_ |
| 6 #define SANDBOX_SRC_PROCESS_MITIGATIONS_WIN32K_INTERCEPTION_H_ | 6 #define SANDBOX_SRC_PROCESS_MITIGATIONS_WIN32K_INTERCEPTION_H_ |
| 7 | 7 |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 #include "base/basictypes.h" | |
| 10 #include "sandbox/win/src/sandbox_types.h" | 9 #include "sandbox/win/src/sandbox_types.h" |
| 11 | 10 |
| 12 namespace sandbox { | 11 namespace sandbox { |
| 13 | 12 |
| 14 extern "C" { | 13 extern "C" { |
| 15 | 14 |
| 16 typedef BOOL (WINAPI* GdiDllInitializeFunction) ( | 15 typedef BOOL (WINAPI* GdiDllInitializeFunction) ( |
| 17 HANDLE dll, | 16 HANDLE dll, |
| 18 DWORD reason, | 17 DWORD reason, |
| 19 LPVOID reserved); | 18 LPVOID reserved); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 37 SANDBOX_INTERCEPT ATOM WINAPI TargetRegisterClassW( | 36 SANDBOX_INTERCEPT ATOM WINAPI TargetRegisterClassW( |
| 38 RegisterClassWFunction orig_register_class_function, | 37 RegisterClassWFunction orig_register_class_function, |
| 39 const WNDCLASS* wnd_class); | 38 const WNDCLASS* wnd_class); |
| 40 | 39 |
| 41 } // extern "C" | 40 } // extern "C" |
| 42 | 41 |
| 43 } // namespace sandbox | 42 } // namespace sandbox |
| 44 | 43 |
| 45 #endif // SANDBOX_SRC_PROCESS_MITIGATIONS_WIN32K_INTERCEPTION_H_ | 44 #endif // SANDBOX_SRC_PROCESS_MITIGATIONS_WIN32K_INTERCEPTION_H_ |
| 46 | 45 |
| OLD | NEW |