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

Side by Side Diff: base/process_util_mac.mm

Issue 11366229: Move eintr_wrapper.h from base to base/posix (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/posix/unix_domain_socket.cc ('k') | base/process_util_posix.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) 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 "base/process_util.h" 5 #include "base/process_util.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 #include <crt_externs.h> 8 #include <crt_externs.h>
9 #include <dlfcn.h> 9 #include <dlfcn.h>
10 #include <errno.h> 10 #include <errno.h>
(...skipping 10 matching lines...) Expand all
21 #include <sys/event.h> 21 #include <sys/event.h>
22 #include <sys/mman.h> 22 #include <sys/mman.h>
23 #include <sys/sysctl.h> 23 #include <sys/sysctl.h>
24 #include <sys/types.h> 24 #include <sys/types.h>
25 #include <sys/wait.h> 25 #include <sys/wait.h>
26 26
27 #include <new> 27 #include <new>
28 #include <string> 28 #include <string>
29 29
30 #include "base/debug/debugger.h" 30 #include "base/debug/debugger.h"
31 #include "base/eintr_wrapper.h"
32 #include "base/file_util.h" 31 #include "base/file_util.h"
33 #include "base/hash_tables.h" 32 #include "base/hash_tables.h"
34 #include "base/lazy_instance.h" 33 #include "base/lazy_instance.h"
35 #include "base/logging.h" 34 #include "base/logging.h"
36 #include "base/mac/mac_util.h" 35 #include "base/mac/mac_util.h"
37 #include "base/mac/scoped_mach_port.h" 36 #include "base/mac/scoped_mach_port.h"
37 #include "base/posix/eintr_wrapper.h"
38 #include "base/string_util.h" 38 #include "base/string_util.h"
39 #include "base/sys_info.h" 39 #include "base/sys_info.h"
40 #include "base/threading/thread_local.h" 40 #include "base/threading/thread_local.h"
41 #include "third_party/apple_apsl/CFBase.h" 41 #include "third_party/apple_apsl/CFBase.h"
42 #include "third_party/apple_apsl/malloc.h" 42 #include "third_party/apple_apsl/malloc.h"
43 #include "third_party/mach_override/mach_override.h" 43 #include "third_party/mach_override/mach_override.h"
44 44
45 namespace base { 45 namespace base {
46 46
47 void RestoreDefaultExceptionHandler() { 47 void RestoreDefaultExceptionHandler() {
(...skipping 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after
1238 } 1238 }
1239 } 1239 }
1240 1240
1241 } // namespace 1241 } // namespace
1242 1242
1243 void EnsureProcessTerminated(ProcessHandle process) { 1243 void EnsureProcessTerminated(ProcessHandle process) {
1244 WaitForChildToDie(process, kWaitBeforeKillSeconds); 1244 WaitForChildToDie(process, kWaitBeforeKillSeconds);
1245 } 1245 }
1246 1246
1247 } // namespace base 1247 } // namespace base
OLDNEW
« no previous file with comments | « base/posix/unix_domain_socket.cc ('k') | base/process_util_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698