| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WIN_SRC_TARGET_PROCESS_H_ | 5 #ifndef SANDBOX_WIN_SRC_TARGET_PROCESS_H_ |
| 6 #define SANDBOX_WIN_SRC_TARGET_PROCESS_H_ | 6 #define SANDBOX_WIN_SRC_TARGET_PROCESS_H_ |
| 7 | 7 |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 #include <stddef.h> | 9 #include <stddef.h> |
| 10 #include <stdint.h> | 10 #include <stdint.h> |
| 11 | 11 |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/free_deleter.h" |
| 13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/win/scoped_handle.h" | 15 #include "base/win/scoped_handle.h" |
| 15 #include "base/win/scoped_process_information.h" | 16 #include "base/win/scoped_process_information.h" |
| 16 #include "sandbox/win/src/crosscall_server.h" | 17 #include "sandbox/win/src/crosscall_server.h" |
| 17 #include "sandbox/win/src/sandbox_types.h" | 18 #include "sandbox/win/src/sandbox_types.h" |
| 18 | 19 |
| 19 namespace base { | 20 namespace base { |
| 20 namespace win { | 21 namespace win { |
| 21 | 22 |
| 22 class StartupInformation; | 23 class StartupInformation; |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 }; | 135 }; |
| 135 | 136 |
| 136 // Creates a mock TargetProcess used for testing interceptions. | 137 // Creates a mock TargetProcess used for testing interceptions. |
| 137 // TODO(cpu): It seems that this method is not going to be used anymore. | 138 // TODO(cpu): It seems that this method is not going to be used anymore. |
| 138 TargetProcess* MakeTestTargetProcess(HANDLE process, HMODULE base_address); | 139 TargetProcess* MakeTestTargetProcess(HANDLE process, HMODULE base_address); |
| 139 | 140 |
| 140 | 141 |
| 141 } // namespace sandbox | 142 } // namespace sandbox |
| 142 | 143 |
| 143 #endif // SANDBOX_WIN_SRC_TARGET_PROCESS_H_ | 144 #endif // SANDBOX_WIN_SRC_TARGET_PROCESS_H_ |
| OLD | NEW |