OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "ipc/mojo/ipc_channel_mojo.h" | 5 #include "ipc/mojo/ipc_channel_mojo.h" |
6 | 6 |
| 7 #include <stddef.h> |
7 #include <stdint.h> | 8 #include <stdint.h> |
8 | 9 |
9 #include "base/base_paths.h" | 10 #include "base/base_paths.h" |
10 #include "base/files/file.h" | 11 #include "base/files/file.h" |
11 #include "base/location.h" | 12 #include "base/location.h" |
12 #include "base/path_service.h" | 13 #include "base/path_service.h" |
13 #include "base/pickle.h" | 14 #include "base/pickle.h" |
14 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
15 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
16 #include "base/test/test_timeouts.h" | 17 #include "base/test/test_timeouts.h" |
17 #include "base/thread_task_runner_handle.h" | 18 #include "base/thread_task_runner_handle.h" |
18 #include "base/threading/thread.h" | 19 #include "base/threading/thread.h" |
| 20 #include "build/build_config.h" |
19 #include "ipc/ipc_message.h" | 21 #include "ipc/ipc_message.h" |
20 #include "ipc/ipc_test_base.h" | 22 #include "ipc/ipc_test_base.h" |
21 #include "ipc/ipc_test_channel_listener.h" | 23 #include "ipc/ipc_test_channel_listener.h" |
22 #include "ipc/mojo/ipc_mojo_handle_attachment.h" | 24 #include "ipc/mojo/ipc_mojo_handle_attachment.h" |
23 #include "ipc/mojo/ipc_mojo_message_helper.h" | 25 #include "ipc/mojo/ipc_mojo_message_helper.h" |
24 #include "ipc/mojo/ipc_mojo_param_traits.h" | 26 #include "ipc/mojo/ipc_mojo_param_traits.h" |
25 #include "ipc/mojo/scoped_ipc_support.h" | 27 #include "ipc/mojo/scoped_ipc_support.h" |
26 | 28 |
27 #if defined(OS_POSIX) | 29 #if defined(OS_POSIX) |
28 #include "base/file_descriptor_posix.h" | 30 #include "base/file_descriptor_posix.h" |
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
850 base::MessageLoop::current()->Run(); | 852 base::MessageLoop::current()->Run(); |
851 | 853 |
852 client.Close(); | 854 client.Close(); |
853 | 855 |
854 return 0; | 856 return 0; |
855 } | 857 } |
856 | 858 |
857 #endif // OS_LINUX | 859 #endif // OS_LINUX |
858 | 860 |
859 } // namespace | 861 } // namespace |
OLD | NEW |