OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/test/multiprocess_test_helper.h" | 5 #include "mojo/edk/test/multiprocess_test_helper.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/test/test_timeouts.h" |
9 #include "mojo/edk/embedder/platform_channel_pair.h" | 10 #include "mojo/edk/embedder/platform_channel_pair.h" |
10 | 11 |
11 namespace mojo { | 12 namespace mojo { |
12 namespace test { | 13 namespace test { |
13 | 14 |
14 MultiprocessTestHelper::MultiprocessTestHelper() | 15 MultiprocessTestHelper::MultiprocessTestHelper() |
15 : platform_channel_pair_(new embedder::PlatformChannelPair()) { | 16 : platform_channel_pair_(new embedder::PlatformChannelPair()) { |
16 server_platform_handle = platform_channel_pair_->PassServerHandle(); | 17 server_platform_handle = platform_channel_pair_->PassServerHandle(); |
17 } | 18 } |
18 | 19 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 client_platform_handle = | 81 client_platform_handle = |
81 embedder::PlatformChannelPair::PassClientHandleFromParentProcess( | 82 embedder::PlatformChannelPair::PassClientHandleFromParentProcess( |
82 *base::CommandLine::ForCurrentProcess()); | 83 *base::CommandLine::ForCurrentProcess()); |
83 } | 84 } |
84 | 85 |
85 // static | 86 // static |
86 embedder::ScopedPlatformHandle MultiprocessTestHelper::client_platform_handle; | 87 embedder::ScopedPlatformHandle MultiprocessTestHelper::client_platform_handle; |
87 | 88 |
88 } // namespace test | 89 } // namespace test |
89 } // namespace mojo | 90 } // namespace mojo |
OLD | NEW |