| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/process/kill.h" | 5 #include "base/process/kill.h" |
| 6 | 6 |
| 7 #include <errno.h> |
| 7 #include <signal.h> | 8 #include <signal.h> |
| 8 #include <sys/types.h> | 9 #include <sys/types.h> |
| 9 #include <sys/wait.h> | 10 #include <sys/wait.h> |
| 10 #include <unistd.h> | 11 #include <unistd.h> |
| 11 | 12 |
| 12 #include "base/files/file_util.h" | 13 #include "base/files/file_util.h" |
| 13 #include "base/files/scoped_file.h" | 14 #include "base/files/scoped_file.h" |
| 14 #include "base/logging.h" | 15 #include "base/logging.h" |
| 15 #include "base/posix/eintr_wrapper.h" | 16 #include "base/posix/eintr_wrapper.h" |
| 16 #include "base/process/process_iterator.h" | 17 #include "base/process/process_iterator.h" |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 return; | 221 return; |
| 221 | 222 |
| 222 BackgroundReaper* reaper = new BackgroundReaper(pid, 0); | 223 BackgroundReaper* reaper = new BackgroundReaper(pid, 0); |
| 223 PlatformThread::CreateNonJoinable(0, reaper); | 224 PlatformThread::CreateNonJoinable(0, reaper); |
| 224 } | 225 } |
| 225 | 226 |
| 226 #endif // !defined(OS_MACOSX) | 227 #endif // !defined(OS_MACOSX) |
| 227 #endif // !defined(OS_NACL_NONSFI) | 228 #endif // !defined(OS_NACL_NONSFI) |
| 228 | 229 |
| 229 } // namespace base | 230 } // namespace base |
| OLD | NEW |