OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_THREAD_DISPATCHER_H_ | 5 #ifndef SANDBOX_SRC_PROCESS_THREAD_DISPATCHER_H_ |
6 #define SANDBOX_SRC_PROCESS_THREAD_DISPATCHER_H_ | 6 #define SANDBOX_SRC_PROCESS_THREAD_DISPATCHER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 uint32_t desired_access, | 43 uint32_t desired_access, |
44 uint32_t attributes); | 44 uint32_t attributes); |
45 | 45 |
46 // Processes IPC requests coming from calls to CreateProcessW() in the target. | 46 // Processes IPC requests coming from calls to CreateProcessW() in the target. |
47 bool CreateProcessW(IPCInfo* ipc, | 47 bool CreateProcessW(IPCInfo* ipc, |
48 base::string16* name, | 48 base::string16* name, |
49 base::string16* cmd_line, | 49 base::string16* cmd_line, |
50 base::string16* cur_dir, | 50 base::string16* cur_dir, |
51 CountedBuffer* info); | 51 CountedBuffer* info); |
52 | 52 |
| 53 // Processes IPC requests coming from calls to CreateThread() in the target. |
| 54 bool CreateThread(IPCInfo* ipc, |
| 55 SIZE_T stack_size, |
| 56 LPTHREAD_START_ROUTINE start_address, |
| 57 LPVOID parameter, |
| 58 DWORD creation_flags); |
| 59 |
53 PolicyBase* policy_base_; | 60 PolicyBase* policy_base_; |
54 DISALLOW_COPY_AND_ASSIGN(ThreadProcessDispatcher); | 61 DISALLOW_COPY_AND_ASSIGN(ThreadProcessDispatcher); |
55 }; | 62 }; |
56 | 63 |
57 } // namespace sandbox | 64 } // namespace sandbox |
58 | 65 |
59 #endif // SANDBOX_SRC_PROCESS_THREAD_DISPATCHER_H_ | 66 #endif // SANDBOX_SRC_PROCESS_THREAD_DISPATCHER_H_ |
OLD | NEW |