Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Side by Side Diff: mojo/edk/system/message_pipe_test_utils.cc

Issue 1488853002: Add multiplexing of message pipes in the new EDK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tsepez review comments Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/edk/system/message_pipe_test_utils.h ('k') | mojo/edk/system/message_pipe_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "mojo/edk/system/message_pipe_test_utils.h" 5 #include "mojo/edk/system/message_pipe_test_utils.h"
6 6
7 #include "mojo/edk/system/test_utils.h" 7 #include "mojo/edk/system/test_utils.h"
8 8
9 namespace mojo { 9 namespace mojo {
10 namespace edk { 10 namespace edk {
11 namespace test { 11 namespace test {
12 12
13 #if !defined(OS_IOS) 13 #if !defined(OS_IOS)
14 MultiprocessMessagePipeTestBase::MultiprocessMessagePipeTestBase() 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 } 15 }
25 16
26 MultiprocessMessagePipeTestBase::~MultiprocessMessagePipeTestBase() { 17 MultiprocessMessagePipeTestBase::~MultiprocessMessagePipeTestBase() {
27 } 18 }
28 #endif 19 #endif
29 20
30 } // namespace test 21 } // namespace test
31 } // namespace edk 22 } // namespace edk
32 } // namespace mojo 23 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/message_pipe_test_utils.h ('k') | mojo/edk/system/message_pipe_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698