| 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/embedder/multiprocess_embedder.h" | 5 #include "mojo/edk/embedder/multiprocess_embedder.h" |
| 6 | 6 |
| 7 #include <string.h> | 7 #include <string.h> |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "mojo/edk/embedder/test_embedder.h" | 12 #include "mojo/edk/embedder/test_embedder.h" |
| 13 #include "mojo/edk/platform/platform_pipe.h" | 13 #include "mojo/edk/platform/platform_pipe.h" |
| 14 #include "mojo/edk/system/test/test_command_line.h" | 14 #include "mojo/edk/system/test/test_command_line.h" |
| 15 #include "mojo/edk/system/test/test_io_thread.h" | 15 #include "mojo/edk/system/test/test_io_thread.h" |
| 16 #include "mojo/edk/system/test/timeouts.h" | 16 #include "mojo/edk/system/test/timeouts.h" |
| 17 #include "mojo/edk/test/multiprocess_test_helper.h" | 17 #include "mojo/edk/test/multiprocess_test_helper.h" |
| 18 #include "mojo/edk/test/scoped_ipc_support.h" | 18 #include "mojo/edk/test/scoped_ipc_support.h" |
| 19 #include "mojo/edk/util/command_line.h" | 19 #include "mojo/edk/util/command_line.h" |
| 20 #include "mojo/edk/util/ref_ptr.h" | 20 #include "mojo/edk/util/ref_ptr.h" |
| 21 #include "mojo/edk/util/waitable_event.h" | 21 #include "mojo/edk/util/waitable_event.h" |
| 22 #include "mojo/public/c/system/functions.h" | |
| 23 #include "mojo/public/c/system/handle.h" | 22 #include "mojo/public/c/system/handle.h" |
| 23 #include "mojo/public/c/system/time.h" |
| 24 #include "mojo/public/c/system/wait.h" |
| 24 #include "mojo/public/cpp/system/handle.h" | 25 #include "mojo/public/cpp/system/handle.h" |
| 25 #include "mojo/public/cpp/system/macros.h" | 26 #include "mojo/public/cpp/system/macros.h" |
| 26 #include "mojo/public/cpp/system/message_pipe.h" | 27 #include "mojo/public/cpp/system/message_pipe.h" |
| 27 #include "testing/gtest/include/gtest/gtest.h" | 28 #include "testing/gtest/include/gtest/gtest.h" |
| 28 | 29 |
| 29 using mojo::platform::PlatformHandleWatcher; | 30 using mojo::platform::PlatformHandleWatcher; |
| 30 using mojo::platform::PlatformPipe; | 31 using mojo::platform::PlatformPipe; |
| 31 using mojo::platform::ScopedPlatformHandle; | 32 using mojo::platform::ScopedPlatformHandle; |
| 32 using mojo::platform::TaskRunner; | 33 using mojo::platform::TaskRunner; |
| 33 using mojo::system::test::TestIOThread; | 34 using mojo::system::test::TestIOThread; |
| (...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 699 | 700 |
| 700 EXPECT_TRUE(test::Shutdown()); | 701 EXPECT_TRUE(test::Shutdown()); |
| 701 } | 702 } |
| 702 | 703 |
| 703 // TODO(vtl): Test immediate write & close. | 704 // TODO(vtl): Test immediate write & close. |
| 704 // TODO(vtl): Test broken-connection cases. | 705 // TODO(vtl): Test broken-connection cases. |
| 705 | 706 |
| 706 } // namespace | 707 } // namespace |
| 707 } // namespace embedder | 708 } // namespace embedder |
| 708 } // namespace mojo | 709 } // namespace mojo |
| OLD | NEW |