diff options
author | jeffbailey@chromium.org <jeffbailey@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-01 22:05:13 +0000 |
---|---|---|
committer | jeffbailey@chromium.org <jeffbailey@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-01 22:05:13 +0000 |
commit | 38788d94bc411c89d6a0bbebe6e0628e401e43e4 (patch) | |
tree | 8b8b788d590ec475ee563758f8cb5572d5da5adc /base | |
parent | bcdf45cfeee3bbeaa8e661a3556145ea6df2529c (diff) | |
download | chromium_src-38788d94bc411c89d6a0bbebe6e0628e401e43e4.zip chromium_src-38788d94bc411c89d6a0bbebe6e0628e401e43e4.tar.gz chromium_src-38788d94bc411c89d6a0bbebe6e0628e401e43e4.tar.bz2 |
Use system constants instead of NULL for unset PID.
Review URL: http://codereview.chromium.org/6759048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80225 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/process.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/process.h b/base/process.h index a8837141..9b1519a 100644 --- a/base/process.h +++ b/base/process.h @@ -25,11 +25,13 @@ typedef HANDLE ProcessHandle; typedef DWORD ProcessId; typedef HANDLE UserTokenHandle; const ProcessHandle kNullProcessHandle = NULL; +const ProcessId kNullProcessId = 0; #elif 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) #if defined(OS_POSIX) && !defined(OS_MACOSX) |