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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "sandbox/win/src/crosscall_server.h" | 10 #include "sandbox/win/src/crosscall_server.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 uint32 desired_access, | 37 uint32 desired_access, |
38 uint32 attributes); | 38 uint32 attributes); |
39 | 39 |
40 // Processes IPC requests coming from calls to CreateProcessW() in the target. | 40 // Processes IPC requests coming from calls to CreateProcessW() in the target. |
41 bool CreateProcessW(IPCInfo* ipc, | 41 bool CreateProcessW(IPCInfo* ipc, |
42 base::string16* name, | 42 base::string16* name, |
43 base::string16* cmd_line, | 43 base::string16* cmd_line, |
44 base::string16* cur_dir, | 44 base::string16* cur_dir, |
45 CountedBuffer* info); | 45 CountedBuffer* info); |
46 | 46 |
| 47 |
| 48 // Processes IPC requests coming from calls to CreateThread() in the target. |
| 49 bool CreateThread(IPCInfo* ipc, |
| 50 LPSECURITY_ATTRIBUTES thread_attributes, |
| 51 SIZE_T stack_size, |
| 52 LPTHREAD_START_ROUTINE start_address, |
| 53 PVOID parameter, |
| 54 DWORD creation_flags); |
| 55 |
47 PolicyBase* policy_base_; | 56 PolicyBase* policy_base_; |
48 DISALLOW_COPY_AND_ASSIGN(ThreadProcessDispatcher); | 57 DISALLOW_COPY_AND_ASSIGN(ThreadProcessDispatcher); |
49 }; | 58 }; |
50 | 59 |
51 } // namespace sandbox | 60 } // namespace sandbox |
52 | 61 |
53 #endif // SANDBOX_SRC_PROCESS_THREAD_DISPATCHER_H_ | 62 #endif // SANDBOX_SRC_PROCESS_THREAD_DISPATCHER_H_ |
OLD | NEW |