| Index: remoting/base/run_all_unittests.cc
|
| diff --git a/remoting/base/run_all_unittests.cc b/remoting/base/run_all_unittests.cc
|
| index d303a75112390f496db7c4399146f963bb9c46fa..b20ac2339d458d1be67e544c032422694a681611 100644
|
| --- a/remoting/base/run_all_unittests.cc
|
| +++ b/remoting/base/run_all_unittests.cc
|
| @@ -4,12 +4,21 @@
|
|
|
| #include "base/test/launcher/unit_test_launcher.h"
|
| #include "base/test/test_suite.h"
|
| +#include "base/threading/thread.h"
|
| #include "mojo/edk/embedder/embedder.h"
|
| +#include "mojo/edk/embedder/scoped_ipc_support.h"
|
|
|
| int main(int argc, char** argv) {
|
| base::TestSuite test_suite(argc, argv);
|
|
|
| + base::Thread ipc_thread("IPC thread");
|
| + ipc_thread.StartWithOptions(
|
| + base::Thread::Options(base::MessageLoop::TYPE_IO, 0));
|
| +
|
| mojo::edk::Init();
|
| + mojo::edk::ScopedIPCSupport ipc_support(
|
| + ipc_thread.task_runner(),
|
| + mojo::edk::ScopedIPCSupport::ShutdownPolicy::CLEAN);
|
|
|
| return base::LaunchUnitTests(
|
| argc, argv, base::Bind(&base::TestSuite::Run,
|
|
|