OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/eintr_wrapper.h" | 10 #include "base/eintr_wrapper.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include <malloc.h> | 26 #include <malloc.h> |
27 #include <glib.h> | 27 #include <glib.h> |
28 #include <sched.h> | 28 #include <sched.h> |
29 #endif | 29 #endif |
30 #if defined(OS_POSIX) | 30 #if defined(OS_POSIX) |
31 #include <dlfcn.h> | 31 #include <dlfcn.h> |
32 #include <fcntl.h> | 32 #include <fcntl.h> |
33 #include <signal.h> | 33 #include <signal.h> |
34 #include <sys/resource.h> | 34 #include <sys/resource.h> |
35 #include <sys/socket.h> | 35 #include <sys/socket.h> |
36 #endif | |
37 #if defined(OS_ANDROID) | |
38 #include <sys/wait.h> | 36 #include <sys/wait.h> |
39 #endif | 37 #endif |
40 #if defined(OS_WIN) | 38 #if defined(OS_WIN) |
41 #include <windows.h> | 39 #include <windows.h> |
42 #endif | 40 #endif |
43 #if defined(OS_MACOSX) | 41 #if defined(OS_MACOSX) |
44 #include <malloc/malloc.h> | 42 #include <malloc/malloc.h> |
45 #include "base/process_util_unittest_mac.h" | 43 #include "base/process_util_unittest_mac.h" |
46 #endif | 44 #endif |
47 | 45 |
(...skipping 1029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1077 while ((value_ = base::AllocatePsychoticallyBigObjCObject())) {} | 1075 while ((value_ = base::AllocatePsychoticallyBigObjCObject())) {} |
1078 }, ""); | 1076 }, ""); |
1079 } | 1077 } |
1080 | 1078 |
1081 #endif // !ARCH_CPU_64_BITS | 1079 #endif // !ARCH_CPU_64_BITS |
1082 #endif // OS_MACOSX | 1080 #endif // OS_MACOSX |
1083 | 1081 |
1084 #endif // !defined(OS_ANDROID) | 1082 #endif // !defined(OS_ANDROID) |
1085 | 1083 |
1086 #endif // !defined(OS_WIN) | 1084 #endif // !defined(OS_WIN) |
OLD | NEW |