OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "mojo/edk/system/ipc_support.h" | 5 #include "mojo/edk/system/ipc_support.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "mojo/edk/embedder/master_process_delegate.h" | 12 #include "mojo/edk/embedder/master_process_delegate.h" |
13 #include "mojo/edk/embedder/simple_platform_support.h" | 13 #include "mojo/edk/embedder/simple_platform_support.h" |
14 #include "mojo/edk/embedder/slave_process_delegate.h" | 14 #include "mojo/edk/embedder/slave_process_delegate.h" |
15 #include "mojo/edk/platform/platform_pipe.h" | 15 #include "mojo/edk/platform/platform_pipe.h" |
16 #include "mojo/edk/system/channel_manager.h" | 16 #include "mojo/edk/system/channel_manager.h" |
17 #include "mojo/edk/system/connection_identifier.h" | 17 #include "mojo/edk/system/connection_identifier.h" |
18 #include "mojo/edk/system/dispatcher.h" | 18 #include "mojo/edk/system/dispatcher.h" |
| 19 #include "mojo/edk/system/handle_transport.h" |
19 #include "mojo/edk/system/message_pipe.h" | 20 #include "mojo/edk/system/message_pipe.h" |
20 #include "mojo/edk/system/message_pipe_dispatcher.h" | 21 #include "mojo/edk/system/message_pipe_dispatcher.h" |
21 #include "mojo/edk/system/process_identifier.h" | 22 #include "mojo/edk/system/process_identifier.h" |
22 #include "mojo/edk/system/test/test_command_line.h" | 23 #include "mojo/edk/system/test/test_command_line.h" |
23 #include "mojo/edk/system/test/test_io_thread.h" | 24 #include "mojo/edk/system/test/test_io_thread.h" |
24 #include "mojo/edk/system/test/timeouts.h" | 25 #include "mojo/edk/system/test/timeouts.h" |
25 #include "mojo/edk/system/waiter.h" | 26 #include "mojo/edk/system/waiter.h" |
26 #include "mojo/edk/test/multiprocess_test_helper.h" | 27 #include "mojo/edk/test/multiprocess_test_helper.h" |
27 #include "mojo/edk/test/test_utils.h" | 28 #include "mojo/edk/test/test_utils.h" |
28 #include "mojo/edk/util/command_line.h" | 29 #include "mojo/edk/util/command_line.h" |
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
710 | 711 |
711 test_io_thread.PostTaskAndWait( | 712 test_io_thread.PostTaskAndWait( |
712 [&ipc_support]() { ipc_support.ShutdownOnIOThread(); }); | 713 [&ipc_support]() { ipc_support.ShutdownOnIOThread(); }); |
713 } | 714 } |
714 | 715 |
715 // TODO(vtl): Also test the case of the master "dying" before the slave. (The | 716 // TODO(vtl): Also test the case of the master "dying" before the slave. (The |
716 // slave should get OnMasterDisconnect(), which we currently don't test.) | 717 // slave should get OnMasterDisconnect(), which we currently don't test.) |
717 | 718 |
718 } // namespace system | 719 } // namespace system |
719 } // namespace mojo | 720 } // namespace mojo |
OLD | NEW |