| Index: base/process/process_handle.h
|
| diff --git a/base/process/process_handle.h b/base/process/process_handle.h
|
| index ef7a6025525efeb6d56f1be0278f67f94b7c49ac..d3bfc9df8026757237ec926409a035c02c835f8f 100644
|
| --- a/base/process/process_handle.h
|
| +++ b/base/process/process_handle.h
|
| @@ -16,6 +16,10 @@
|
| #include <windows.h>
|
| #endif
|
|
|
| +#if defined(OS_FUCHSIA)
|
| +#include <magenta/types.h>
|
| +#endif
|
| +
|
| namespace base {
|
|
|
| // ProcessHandle is a platform specific type which represents the underlying OS
|
| @@ -27,6 +31,11 @@ typedef DWORD ProcessId;
|
| typedef HANDLE UserTokenHandle;
|
| const ProcessHandle kNullProcessHandle = NULL;
|
| const ProcessId kNullProcessId = 0;
|
| +#elif defined(OS_FUCHSIA)
|
| +typedef mx_handle_t ProcessHandle;
|
| +typedef mx_koid_t ProcessId;
|
| +const ProcessHandle kNullProcessHandle = MX_HANDLE_INVALID;
|
| +const ProcessId kNullProcessId = MX_KOID_INVALID;
|
| #elif defined(OS_POSIX)
|
| // On POSIX, our ProcessHandle will just be the PID.
|
| typedef pid_t ProcessHandle;
|
|
|