| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <dirent.h> | 5 #include <dirent.h> |
| 6 #include <errno.h> | 6 #include <errno.h> |
| 7 #include <fcntl.h> | 7 #include <fcntl.h> |
| 8 #include <signal.h> | 8 #include <signal.h> |
| 9 #include <stdlib.h> | 9 #include <stdlib.h> |
| 10 #include <sys/resource.h> | 10 #include <sys/resource.h> |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #include "base/command_line.h" | 21 #include "base/command_line.h" |
| 22 #include "base/compiler_specific.h" | 22 #include "base/compiler_specific.h" |
| 23 #include "base/debug/debugger.h" | 23 #include "base/debug/debugger.h" |
| 24 #include "base/debug/stack_trace.h" | 24 #include "base/debug/stack_trace.h" |
| 25 #include "base/file_util.h" | 25 #include "base/file_util.h" |
| 26 #include "base/files/dir_reader_posix.h" | 26 #include "base/files/dir_reader_posix.h" |
| 27 #include "base/logging.h" | 27 #include "base/logging.h" |
| 28 #include "base/memory/scoped_ptr.h" | 28 #include "base/memory/scoped_ptr.h" |
| 29 #include "base/posix/eintr_wrapper.h" | 29 #include "base/posix/eintr_wrapper.h" |
| 30 #include "base/process_util.h" | 30 #include "base/process_util.h" |
| 31 #include "base/stringprintf.h" | 31 #include "base/strings/stringprintf.h" |
| 32 #include "base/synchronization/waitable_event.h" | 32 #include "base/synchronization/waitable_event.h" |
| 33 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" | 33 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" |
| 34 #include "base/threading/platform_thread.h" | 34 #include "base/threading/platform_thread.h" |
| 35 #include "base/threading/thread_restrictions.h" | 35 #include "base/threading/thread_restrictions.h" |
| 36 | 36 |
| 37 #if defined(OS_CHROMEOS) | 37 #if defined(OS_CHROMEOS) |
| 38 #include <sys/ioctl.h> | 38 #include <sys/ioctl.h> |
| 39 #endif | 39 #endif |
| 40 | 40 |
| 41 #if defined(OS_FREEBSD) | 41 #if defined(OS_FREEBSD) |
| (...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1242 if (IsChildDead(process)) | 1242 if (IsChildDead(process)) |
| 1243 return; | 1243 return; |
| 1244 | 1244 |
| 1245 BackgroundReaper* reaper = new BackgroundReaper(process, 0); | 1245 BackgroundReaper* reaper = new BackgroundReaper(process, 0); |
| 1246 PlatformThread::CreateNonJoinable(0, reaper); | 1246 PlatformThread::CreateNonJoinable(0, reaper); |
| 1247 } | 1247 } |
| 1248 | 1248 |
| 1249 #endif // !defined(OS_MACOSX) | 1249 #endif // !defined(OS_MACOSX) |
| 1250 | 1250 |
| 1251 } // namespace base | 1251 } // namespace base |
| OLD | NEW |