Index: base/process/process_posix.cc |
diff --git a/base/process/process_posix.cc b/base/process/process_posix.cc |
index bbb342c4cf49a4b6c9072faacf5e6df78f384140..2fb708d2b47841363ea599c8ab98d7107e9d3f77 100644 |
--- a/base/process/process_posix.cc |
+++ b/base/process/process_posix.cc |
@@ -183,6 +183,7 @@ bool WaitForExitWithTimeoutImpl(base::ProcessHandle handle, |
base::TimeDelta timeout) { |
base::ProcessHandle parent_pid = base::GetParentProcessId(handle); |
base::ProcessHandle our_pid = base::GetCurrentProcessHandle(); |
+ |
if (parent_pid != our_pid) { |
#if defined(OS_MACOSX) |
// On Mac we can wait on non child processes. |
@@ -256,12 +257,12 @@ Process Process::DeprecatedGetProcessFromHandle(ProcessHandle handle) { |
return Process(handle); |
} |
-#if !defined(OS_LINUX) && !defined(OS_MACOSX) |
+#if !defined(OS_LINUX) && !defined(OS_MACOSX) && !defined(OS_AIX) |
// static |
bool Process::CanBackgroundProcesses() { |
return false; |
} |
-#endif // !defined(OS_LINUX) && !defined(OS_MACOSX) |
+#endif // !defined(OS_LINUX) && !defined(OS_MACOSX) && !defined(OS_AIX) |
// static |
void Process::TerminateCurrentProcessImmediately(int exit_code) { |
@@ -365,7 +366,7 @@ bool Process::WaitForExitWithTimeout(TimeDelta timeout, int* exit_code) const { |
return WaitForExitWithTimeoutImpl(Handle(), exit_code, timeout); |
} |
-#if !defined(OS_LINUX) && !defined(OS_MACOSX) |
+#if !defined(OS_LINUX) && !defined(OS_MACOSX) && !defined(OS_AIX) |
bool Process::IsProcessBackgrounded() const { |
// See SetProcessBackgrounded(). |
DCHECK(IsValid()); |
@@ -379,7 +380,7 @@ bool Process::SetProcessBackgrounded(bool value) { |
NOTIMPLEMENTED(); |
return false; |
} |
-#endif // !defined(OS_LINUX) && !defined(OS_MACOSX) |
+#endif // !defined(OS_LINUX) && !defined(OS_MACOSX) && !defined(OS_AIX) |
int Process::GetPriority() const { |
DCHECK(IsValid()); |