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

Side by Side Diff: mojo/common/test/multiprocess_test_base.cc

Issue 133533007: Mojo: Move PlatformChannelPair to its own files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months 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 | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « mojo/common/test/multiprocess_test_base.h ('k') | mojo/common/test/multiprocess_test_base_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698