Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Side by Side Diff: base/process/kill_posix.cc

Issue 20265004: Update include paths in base for base/process changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge ToT Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/process/kill.h ('k') | base/process/kill_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <signal.h> 7 #include <signal.h>
8 #include <sys/types.h> 8 #include <sys/types.h>
9 #include <sys/wait.h> 9 #include <sys/wait.h>
10 #include <unistd.h> 10 #include <unistd.h>
11 11
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/posix/eintr_wrapper.h" 14 #include "base/posix/eintr_wrapper.h"
15 #include "base/process/process_iterator.h" 15 #include "base/process/process_iterator.h"
16 #include "base/process_util.h"
17 #include "base/synchronization/waitable_event.h" 16 #include "base/synchronization/waitable_event.h"
18 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" 17 #include "base/third_party/dynamic_annotations/dynamic_annotations.h"
19 #include "base/threading/platform_thread.h" 18 #include "base/threading/platform_thread.h"
20 19
21 namespace base { 20 namespace base {
22 21
23 namespace { 22 namespace {
24 23
25 int WaitpidWithTimeout(ProcessHandle handle, 24 int WaitpidWithTimeout(ProcessHandle handle,
26 int64 wait_milliseconds, 25 int64 wait_milliseconds,
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 if (IsChildDead(process)) 483 if (IsChildDead(process))
485 return; 484 return;
486 485
487 BackgroundReaper* reaper = new BackgroundReaper(process, 0); 486 BackgroundReaper* reaper = new BackgroundReaper(process, 0);
488 PlatformThread::CreateNonJoinable(0, reaper); 487 PlatformThread::CreateNonJoinable(0, reaper);
489 } 488 }
490 489
491 #endif // !defined(OS_MACOSX) 490 #endif // !defined(OS_MACOSX)
492 491
493 } // namespace base 492 } // namespace base
OLDNEW
« no previous file with comments | « base/process/kill.h ('k') | base/process/kill_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698