| Index: base/process/process_handle.h
|
| diff --git a/base/process/process_handle.h b/base/process/process_handle.h
|
| index 77f2c585cfcc71087596855fa6f83ac643ce9a6c..3d6cf1e5c6921d244f5852bf3a38a7c23f3319bc 100644
|
| --- a/base/process/process_handle.h
|
| +++ b/base/process/process_handle.h
|
| @@ -11,28 +11,19 @@
|
| #include "build/build_config.h"
|
|
|
| #include <sys/types.h>
|
| -#if defined(OS_WIN)
|
| -#include <windows.h>
|
| -#endif
|
|
|
| namespace base {
|
|
|
| // ProcessHandle is a platform specific type which represents the underlying OS
|
| // handle to a process.
|
| // ProcessId is a number which identifies the process in the OS.
|
| -#if defined(OS_WIN)
|
| -typedef HANDLE ProcessHandle;
|
| -typedef DWORD ProcessId;
|
| -typedef HANDLE UserTokenHandle;
|
| -const ProcessHandle kNullProcessHandle = NULL;
|
| -const ProcessId kNullProcessId = 0;
|
| -#elif defined(OS_POSIX)
|
| +#if defined(OS_POSIX)
|
| // On POSIX, our ProcessHandle will just be the PID.
|
| typedef pid_t ProcessHandle;
|
| typedef pid_t ProcessId;
|
| const ProcessHandle kNullProcessHandle = 0;
|
| const ProcessId kNullProcessId = 0;
|
| -#endif // defined(OS_WIN)
|
| +#endif // defined(OS_POSIX)
|
|
|
| // Returns the id of the current process.
|
| BASE_EXPORT ProcessId GetCurrentProcId();
|
|
|