diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-29 17:44:42 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-29 17:44:42 +0000 |
commit | b6128aaba9e7c148d1a71710b1d7de5d101f9967 (patch) | |
tree | dca19e0d51b91edcd5e2203de2f3158c64bcdb5c /base/process.h | |
parent | a65b0ba084b3b197f817b88bd21b275e1790a629 (diff) | |
download | chromium_src-b6128aaba9e7c148d1a71710b1d7de5d101f9967.zip chromium_src-b6128aaba9e7c148d1a71710b1d7de5d101f9967.tar.gz chromium_src-b6128aaba9e7c148d1a71710b1d7de5d101f9967.tar.bz2 |
Move common code into process_util.cc.
Fix namespace usage.
Change ProcessEntry to have a common interface accross platforms and change ProcessFilter::Includes() to make use of it.
Split NamedProcessIterator in two.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1689012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45953 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process.h')
-rw-r--r-- | base/process.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/process.h b/base/process.h index f52c455..096d1b3 100644 --- a/base/process.h +++ b/base/process.h @@ -9,7 +9,7 @@ #include "build/build_config.h" #include <sys/types.h> -#ifdef OS_WIN +#if defined(OS_WIN) #include <windows.h> #endif @@ -28,7 +28,7 @@ const ProcessHandle kNullProcessHandle = NULL; typedef pid_t ProcessHandle; typedef pid_t ProcessId; const ProcessHandle kNullProcessHandle = 0; -#endif +#endif // defined(OS_WIN) #if defined(OS_POSIX) && !defined(OS_MACOSX) // saved_priority_ will be set to this to indicate that it's not holding |