Index: base/process/process_posix.cc |
diff --git a/base/process/process_posix.cc b/base/process/process_posix.cc |
index 7f74e0b72c2fdcf5ec4906640557b0bc81b603be..282923bd002ed5f18736c2ce7d37560c8610a3f5 100644 |
--- a/base/process/process_posix.cc |
+++ b/base/process/process_posix.cc |
@@ -184,6 +184,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. |
@@ -257,12 +258,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) { |
@@ -366,7 +367,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()); |
@@ -380,7 +381,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()); |