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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 | 6 |
7 #if defined(OS_POSIX) | 7 #if defined(OS_POSIX) |
8 #if defined(OS_MACOSX) | 8 #if defined(OS_MACOSX) |
9 extern "C" { | 9 extern "C" { |
10 #include <sandbox.h> | 10 #include <sandbox.h> |
11 } | 11 } |
12 #endif | 12 #endif |
13 #include <fcntl.h> | 13 #include <fcntl.h> |
| 14 #include <stddef.h> |
14 #include <sys/socket.h> | 15 #include <sys/socket.h> |
15 #include <sys/stat.h> | 16 #include <sys/stat.h> |
16 #include <unistd.h> | 17 #include <unistd.h> |
17 | 18 |
18 #include <queue> | 19 #include <queue> |
19 | 20 |
20 #include "base/callback.h" | 21 #include "base/callback.h" |
21 #include "base/file_descriptor_posix.h" | 22 #include "base/file_descriptor_posix.h" |
22 #include "base/location.h" | 23 #include "base/location.h" |
23 #include "base/pickle.h" | 24 #include "base/pickle.h" |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 base::WaitableEvent received_; | 378 base::WaitableEvent received_; |
378 }; | 379 }; |
379 | 380 |
380 TEST_F(IPCMultiSendingFdsTest, StressTest) { | 381 TEST_F(IPCMultiSendingFdsTest, StressTest) { |
381 Run(); | 382 Run(); |
382 } | 383 } |
383 | 384 |
384 } // namespace | 385 } // namespace |
385 | 386 |
386 #endif // defined(OS_POSIX) | 387 #endif // defined(OS_POSIX) |
OLD | NEW |