| 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/ipc_mojo_bootstrap.h" | 5 #include "ipc/ipc_mojo_bootstrap.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/base_paths.h" | 10 #include "base/base_paths.h" |
| 11 #include "base/files/file.h" | 11 #include "base/files/file.h" |
| 12 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
| 13 #include "base/run_loop.h" |
| 13 #include "base/threading/thread_task_runner_handle.h" | 14 #include "base/threading/thread_task_runner_handle.h" |
| 14 #include "build/build_config.h" | 15 #include "build/build_config.h" |
| 15 #include "ipc/ipc.mojom.h" | 16 #include "ipc/ipc.mojom.h" |
| 16 #include "ipc/ipc_test_base.h" | 17 #include "ipc/ipc_test_base.h" |
| 17 #include "mojo/edk/embedder/embedder.h" | 18 #include "mojo/edk/embedder/embedder.h" |
| 18 #include "mojo/edk/test/mojo_test_base.h" | 19 #include "mojo/edk/test/mojo_test_base.h" |
| 19 #include "mojo/edk/test/multiprocess_test_helper.h" | 20 #include "mojo/edk/test/multiprocess_test_helper.h" |
| 20 #include "mojo/edk/test/scoped_ipc_support.h" | 21 #include "mojo/edk/test/scoped_ipc_support.h" |
| 21 | 22 |
| 22 #if defined(OS_POSIX) | 23 #if defined(OS_POSIX) |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 base::ThreadTaskRunnerHandle::Get()); | 83 base::ThreadTaskRunnerHandle::Get()); |
| 83 | 84 |
| 84 bootstrap->Connect(); | 85 bootstrap->Connect(); |
| 85 | 86 |
| 86 run_loop.Run(); | 87 run_loop.Run(); |
| 87 | 88 |
| 88 return delegate.passed() ? 0 : 1; | 89 return delegate.passed() ? 0 : 1; |
| 89 } | 90 } |
| 90 | 91 |
| 91 } // namespace | 92 } // namespace |
| OLD | NEW |