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_WOW64_H__ | 5 #ifndef SANDBOX_SRC_WOW64_H__ |
6 #define SANDBOX_SRC_WOW64_H__ | 6 #define SANDBOX_SRC_WOW64_H__ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "sandbox/src/sandbox_types.h" | 11 #include "sandbox/win/src/sandbox_types.h" |
12 | 12 |
13 namespace sandbox { | 13 namespace sandbox { |
14 | 14 |
15 class TargetProcess; | 15 class TargetProcess; |
16 | 16 |
17 // This class wraps the code needed to interact with the Windows On Windows | 17 // This class wraps the code needed to interact with the Windows On Windows |
18 // subsystem on 64 bit OSes, from the point of view of interceptions. | 18 // subsystem on 64 bit OSes, from the point of view of interceptions. |
19 class Wow64 { | 19 class Wow64 { |
20 public: | 20 public: |
21 Wow64(TargetProcess* child, HMODULE ntdll) | 21 Wow64(TargetProcess* child, HMODULE ntdll) |
(...skipping 19 matching lines...) Expand all Loading... |
41 TargetProcess* child_; // Child process. | 41 TargetProcess* child_; // Child process. |
42 HMODULE ntdll_; // ntdll on the parent. | 42 HMODULE ntdll_; // ntdll on the parent. |
43 HANDLE dll_load_; // Event that is signaled on dll load. | 43 HANDLE dll_load_; // Event that is signaled on dll load. |
44 HANDLE continue_load_; // Event to signal to continue execution on the child. | 44 HANDLE continue_load_; // Event to signal to continue execution on the child. |
45 DISALLOW_IMPLICIT_CONSTRUCTORS(Wow64); | 45 DISALLOW_IMPLICIT_CONSTRUCTORS(Wow64); |
46 }; | 46 }; |
47 | 47 |
48 } // namespace sandbox | 48 } // namespace sandbox |
49 | 49 |
50 #endif // SANDBOX_SRC_WOW64_H__ | 50 #endif // SANDBOX_SRC_WOW64_H__ |
OLD | NEW |