| 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 "ipc/ipc_sync_channel.h" | 5 #include "ipc/ipc_sync_channel.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <utility> | 11 #include <utility> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/bind.h" | 14 #include "base/bind.h" |
| 15 #include "base/location.h" | 15 #include "base/location.h" |
| 16 #include "base/logging.h" | 16 #include "base/logging.h" |
| 17 #include "base/macros.h" | 17 #include "base/macros.h" |
| 18 #include "base/message_loop/message_loop.h" |
| 18 #include "base/process/process_handle.h" | 19 #include "base/process/process_handle.h" |
| 19 #include "base/run_loop.h" | 20 #include "base/run_loop.h" |
| 20 #include "base/single_thread_task_runner.h" | 21 #include "base/single_thread_task_runner.h" |
| 21 #include "base/strings/string_util.h" | 22 #include "base/strings/string_util.h" |
| 22 #include "base/synchronization/waitable_event.h" | 23 #include "base/synchronization/waitable_event.h" |
| 23 #include "base/threading/platform_thread.h" | 24 #include "base/threading/platform_thread.h" |
| 24 #include "base/threading/thread.h" | 25 #include "base/threading/thread.h" |
| 25 #include "base/threading/thread_task_runner_handle.h" | 26 #include "base/threading/thread_task_runner_handle.h" |
| 26 #include "build/build_config.h" | 27 #include "build/build_config.h" |
| 27 #include "ipc/ipc_listener.h" | 28 #include "ipc/ipc_listener.h" |
| (...skipping 1836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1864 workers.push_back(new ReentrantReplyServer2(std::move(pipe2.handle0))); | 1865 workers.push_back(new ReentrantReplyServer2(std::move(pipe2.handle0))); |
| 1865 workers.push_back(new ReentrantReplyServer1( | 1866 workers.push_back(new ReentrantReplyServer1( |
| 1866 &server_ready, std::move(pipe1.handle0), std::move(pipe2.handle1))); | 1867 &server_ready, std::move(pipe1.handle0), std::move(pipe2.handle1))); |
| 1867 workers.push_back( | 1868 workers.push_back( |
| 1868 new ReentrantReplyClient(&server_ready, std::move(pipe1.handle1))); | 1869 new ReentrantReplyClient(&server_ready, std::move(pipe1.handle1))); |
| 1869 RunTest(workers); | 1870 RunTest(workers); |
| 1870 } | 1871 } |
| 1871 | 1872 |
| 1872 } // namespace | 1873 } // namespace |
| 1873 } // namespace IPC | 1874 } // namespace IPC |
| OLD | NEW |