OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #include "sandbox/src/target_process.h" | 5 #include "sandbox/src/target_process.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/logging.h" | |
9 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
10 #include "sandbox/src/crosscall_server.h" | 9 #include "sandbox/src/crosscall_server.h" |
11 #include "sandbox/src/crosscall_client.h" | 10 #include "sandbox/src/crosscall_client.h" |
12 #include "sandbox/src/pe_image.h" | 11 #include "sandbox/src/pe_image.h" |
13 #include "sandbox/src/policy_low_level.h" | 12 #include "sandbox/src/policy_low_level.h" |
14 #include "sandbox/src/sandbox_types.h" | 13 #include "sandbox/src/sandbox_types.h" |
15 #include "sandbox/src/sharedmem_ipc_server.h" | 14 #include "sandbox/src/sharedmem_ipc_server.h" |
16 | 15 |
17 namespace { | 16 namespace { |
18 | 17 |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 | 323 |
325 | 324 |
326 TargetProcess* MakeTestTargetProcess(HANDLE process, HMODULE base_address) { | 325 TargetProcess* MakeTestTargetProcess(HANDLE process, HMODULE base_address) { |
327 TargetProcess* target = new TargetProcess(NULL, NULL, NULL, NULL); | 326 TargetProcess* target = new TargetProcess(NULL, NULL, NULL, NULL); |
328 target->sandbox_process_ = process; | 327 target->sandbox_process_ = process; |
329 target->base_address_ = base_address; | 328 target->base_address_ = base_address; |
330 return target; | 329 return target; |
331 } | 330 } |
332 | 331 |
333 } // namespace sandbox | 332 } // namespace sandbox |
OLD | NEW |