Chromium Code Reviews| Index: base/process_util_win.cc |
| =================================================================== |
| --- base/process_util_win.cc (revision 2262) |
| +++ base/process_util_win.cc (working copy) |
| @@ -28,6 +28,10 @@ |
| return ::GetCurrentProcessId(); |
| } |
| +ProcessHandle GetCurrentProcessHandle() { |
| + return ::GetCurrentProcess(); |
| +} |
| + |
| // Helper for GetProcId() |
| bool GetProcIdViaGetProcessId(ProcessHandle process, DWORD* id) { |
| // Dynamically get a pointer to GetProcessId(). |