| Index: base/process/process_posix.cc
|
| diff --git a/base/process/process_posix.cc b/base/process/process_posix.cc
|
| index a36bf77ff21dd5862002ba5c1d63029df0a7bc0e..8b0211fb4344ff396e851f01a2a4669d32c37fa9 100644
|
| --- a/base/process/process_posix.cc
|
| +++ b/base/process/process_posix.cc
|
| @@ -249,12 +249,12 @@ Process Process::DeprecatedGetProcessFromHandle(ProcessHandle handle) {
|
| return Process(handle);
|
| }
|
|
|
| -#if !defined(OS_LINUX)
|
| +#if !defined(OS_LINUX) && !defined(OS_MACOSX)
|
| // static
|
| bool Process::CanBackgroundProcesses() {
|
| return false;
|
| }
|
| -#endif // !defined(OS_LINUX)
|
| +#endif // !defined(OS_LINUX) && !defined(OS_MACOSX)
|
|
|
| bool Process::IsValid() const {
|
| return process_ != kNullProcessHandle;
|
| @@ -303,7 +303,7 @@ bool Process::WaitForExitWithTimeout(TimeDelta timeout, int* exit_code) {
|
| return WaitForExitWithTimeoutImpl(Handle(), exit_code, timeout);
|
| }
|
|
|
| -#if !defined(OS_LINUX)
|
| +#if !defined(OS_LINUX) && !defined(OS_MACOSX)
|
| bool Process::IsProcessBackgrounded() const {
|
| // See SetProcessBackgrounded().
|
| DCHECK(IsValid());
|
| @@ -317,11 +317,11 @@ bool Process::SetProcessBackgrounded(bool value) {
|
| DCHECK(IsValid());
|
| return false;
|
| }
|
| -#endif // !defined(OS_LINUX)
|
| +#endif // !defined(OS_LINUX) && !defined(OS_MACOSX)
|
|
|
| int Process::GetPriority() const {
|
| DCHECK(IsValid());
|
| return getpriority(PRIO_PROCESS, process_);
|
| }
|
|
|
| -} // namspace base
|
| +} // namespace base
|
|
|