Index: mojo/edk/system/message_pipe_test_utils.cc |
diff --git a/mojo/edk/system/message_pipe_test_utils.cc b/mojo/edk/system/message_pipe_test_utils.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1e337fbcdcc89a87c7afea545c673d8ae84470e3 |
--- /dev/null |
+++ b/mojo/edk/system/message_pipe_test_utils.cc |
@@ -0,0 +1,32 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "mojo/edk/system/message_pipe_test_utils.h" |
+ |
+#include "mojo/edk/system/test_utils.h" |
+ |
+namespace mojo { |
+namespace edk { |
+namespace test { |
+ |
+#if !defined(OS_IOS) |
+MultiprocessMessagePipeTestBase::MultiprocessMessagePipeTestBase() |
+ : test_io_thread_(base::TestIOThread::kAutoStart), |
+ ipc_support_(test_io_thread_.task_runner()) { |
+} |
+ |
+MultiprocessMessagePipeTestBase::MultiprocessMessagePipeTestBase( |
+ base::MessageLoop::Type main_message_loop_type) |
+ : message_loop_(main_message_loop_type), |
+ test_io_thread_(base::TestIOThread::kAutoStart), |
+ ipc_support_(test_io_thread_.task_runner()) { |
+} |
+ |
+MultiprocessMessagePipeTestBase::~MultiprocessMessagePipeTestBase() { |
+} |
+#endif |
+ |
+} // namespace test |
+} // namespace edk |
+} // namespace mojo |