OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "mojo/edk/system/message_pipe_test_utils.h" |
| 6 |
| 7 #include "mojo/edk/system/test_utils.h" |
| 8 |
| 9 namespace mojo { |
| 10 namespace edk { |
| 11 namespace test { |
| 12 |
| 13 #if !defined(OS_IOS) |
| 14 MultiprocessMessagePipeTestBase::MultiprocessMessagePipeTestBase() |
| 15 : test_io_thread_(base::TestIOThread::kAutoStart), |
| 16 ipc_support_(test_io_thread_.task_runner()) { |
| 17 } |
| 18 |
| 19 MultiprocessMessagePipeTestBase::MultiprocessMessagePipeTestBase( |
| 20 base::MessageLoop::Type main_message_loop_type) |
| 21 : message_loop_(main_message_loop_type), |
| 22 test_io_thread_(base::TestIOThread::kAutoStart), |
| 23 ipc_support_(test_io_thread_.task_runner()) { |
| 24 } |
| 25 |
| 26 MultiprocessMessagePipeTestBase::~MultiprocessMessagePipeTestBase() { |
| 27 } |
| 28 #endif |
| 29 |
| 30 } // namespace test |
| 31 } // namespace edk |
| 32 } // namespace mojo |
OLD | NEW |