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

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

Issue 139823003: Mojo: Move system embedder API files to mojo/system/embedder. (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_pair.h" 13 #include "mojo/system/embedder/platform_channel_pair.h"
14 14
15 namespace mojo { 15 namespace mojo {
16 namespace test { 16 namespace test {
17 17
18 MultiprocessTestBase::MultiprocessTestBase() 18 MultiprocessTestBase::MultiprocessTestBase()
19 : test_child_handle_(base::kNullProcessHandle) { 19 : test_child_handle_(base::kNullProcessHandle) {
20 } 20 }
21 21
22 MultiprocessTestBase::~MultiprocessTestBase() { 22 MultiprocessTestBase::~MultiprocessTestBase() {
23 CHECK_EQ(test_child_handle_, base::kNullProcessHandle); 23 CHECK_EQ(test_child_handle_, base::kNullProcessHandle);
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 embedder::PlatformChannelPair::PassClientHandleFromParentProcess( 106 embedder::PlatformChannelPair::PassClientHandleFromParentProcess(
107 *CommandLine::ForCurrentProcess()); 107 *CommandLine::ForCurrentProcess());
108 #endif 108 #endif
109 } 109 }
110 110
111 // static 111 // static
112 embedder::ScopedPlatformHandle MultiprocessTestBase::client_platform_handle; 112 embedder::ScopedPlatformHandle MultiprocessTestBase::client_platform_handle;
113 113
114 } // namespace test 114 } // namespace test
115 } // namespace mojo 115 } // 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