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 #define _CRT_SECURE_NO_WARNINGS | 5 #define _CRT_SECURE_NO_WARNINGS |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/debug/alias.h" | 10 #include "base/debug/alias.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include <sched.h> | 28 #include <sched.h> |
29 #endif | 29 #endif |
30 #if defined(OS_POSIX) | 30 #if defined(OS_POSIX) |
31 #include <errno.h> | 31 #include <errno.h> |
32 #include <dlfcn.h> | 32 #include <dlfcn.h> |
33 #include <fcntl.h> | 33 #include <fcntl.h> |
34 #include <signal.h> | 34 #include <signal.h> |
35 #include <sys/resource.h> | 35 #include <sys/resource.h> |
36 #include <sys/socket.h> | 36 #include <sys/socket.h> |
37 #include <sys/wait.h> | 37 #include <sys/wait.h> |
| 38 #include "base/base_paths_posix.h" |
38 #endif | 39 #endif |
39 #if defined(OS_WIN) | 40 #if defined(OS_WIN) |
40 #include <windows.h> | 41 #include <windows.h> |
41 #endif | 42 #endif |
42 #if defined(OS_MACOSX) | 43 #if defined(OS_MACOSX) |
43 #include <mach/vm_param.h> | 44 #include <mach/vm_param.h> |
44 #include <malloc/malloc.h> | 45 #include <malloc/malloc.h> |
45 #include "base/process_util_unittest_mac.h" | 46 #include "base/process_util_unittest_mac.h" |
46 #endif | 47 #endif |
47 | 48 |
(...skipping 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1212 SetUpInDeathAssert(); | 1213 SetUpInDeathAssert(); |
1213 while ((value_ = base::AllocatePsychoticallyBigObjCObject())) {} | 1214 while ((value_ = base::AllocatePsychoticallyBigObjCObject())) {} |
1214 }, ""); | 1215 }, ""); |
1215 } | 1216 } |
1216 | 1217 |
1217 #endif // !ARCH_CPU_64_BITS | 1218 #endif // !ARCH_CPU_64_BITS |
1218 #endif // OS_MACOSX | 1219 #endif // OS_MACOSX |
1219 | 1220 |
1220 #endif // !defined(OS_ANDROID) && !defined(OS_OPENBSD) && | 1221 #endif // !defined(OS_ANDROID) && !defined(OS_OPENBSD) && |
1221 // !defined(OS_WIN) && !defined(ADDRESS_SANITIZER) | 1222 // !defined(OS_WIN) && !defined(ADDRESS_SANITIZER) |
OLD | NEW |