| 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/common/test/multiprocess_test_base.h" | 5 #include "mojo/common/test/multiprocess_test_base.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/process/kill.h" | 9 #include "base/process/kill.h" |
| 10 #include "base/process/process_handle.h" | 10 #include "base/process/process_handle.h" |
| 11 // TODO(vtl): Remove build_config.h include when fully implemented on Windows. | 11 // TODO(vtl): Remove build_config.h include when fully implemented on Windows. |
| 12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 13 #include "mojo/system/platform_channel.h" |
| 14 #include "mojo/system/platform_channel_pair.h" |
| 13 | 15 |
| 14 namespace mojo { | 16 namespace mojo { |
| 15 namespace test { | 17 namespace test { |
| 16 | 18 |
| 17 MultiprocessTestBase::MultiprocessTestBase() | 19 MultiprocessTestBase::MultiprocessTestBase() |
| 18 : test_child_handle_(base::kNullProcessHandle) { | 20 : test_child_handle_(base::kNullProcessHandle) { |
| 19 } | 21 } |
| 20 | 22 |
| 21 MultiprocessTestBase::~MultiprocessTestBase() { | 23 MultiprocessTestBase::~MultiprocessTestBase() { |
| 22 CHECK_EQ(test_child_handle_, base::kNullProcessHandle); | 24 CHECK_EQ(test_child_handle_, base::kNullProcessHandle); |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 CHECK(client_platform_channel.get()); | 109 CHECK(client_platform_channel.get()); |
| 108 #endif | 110 #endif |
| 109 } | 111 } |
| 110 | 112 |
| 111 // static | 113 // static |
| 112 scoped_ptr<system::PlatformChannel> | 114 scoped_ptr<system::PlatformChannel> |
| 113 MultiprocessTestBase::client_platform_channel; | 115 MultiprocessTestBase::client_platform_channel; |
| 114 | 116 |
| 115 } // namespace test | 117 } // namespace test |
| 116 } // namespace mojo | 118 } // namespace mojo |
| OLD | NEW |