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

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

Issue 203373004: Mojo: Move mojo/system/embedder to mojo/embedder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 9 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_helper.h" 5 #include "mojo/common/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/process/kill.h" 9 #include "base/process/kill.h"
10 #include "base/process/process_handle.h" 10 #include "base/process/process_handle.h"
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "mojo/system/embedder/platform_channel_pair.h" 12 #include "mojo/embedder/platform_channel_pair.h"
13 13
14 namespace mojo { 14 namespace mojo {
15 namespace test { 15 namespace test {
16 16
17 MultiprocessTestHelper::MultiprocessTestHelper() 17 MultiprocessTestHelper::MultiprocessTestHelper()
18 : test_child_handle_(base::kNullProcessHandle) { 18 : test_child_handle_(base::kNullProcessHandle) {
19 platform_channel_pair_.reset(new embedder::PlatformChannelPair()); 19 platform_channel_pair_.reset(new embedder::PlatformChannelPair());
20 server_platform_handle = platform_channel_pair_->PassServerHandle(); 20 server_platform_handle = platform_channel_pair_->PassServerHandle();
21 } 21 }
22 22
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 client_platform_handle = 76 client_platform_handle =
77 embedder::PlatformChannelPair::PassClientHandleFromParentProcess( 77 embedder::PlatformChannelPair::PassClientHandleFromParentProcess(
78 *CommandLine::ForCurrentProcess()); 78 *CommandLine::ForCurrentProcess());
79 } 79 }
80 80
81 // static 81 // static
82 embedder::ScopedPlatformHandle MultiprocessTestHelper::client_platform_handle; 82 embedder::ScopedPlatformHandle MultiprocessTestHelper::client_platform_handle;
83 83
84 } // namespace test 84 } // namespace test
85 } // namespace mojo 85 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/common/test/multiprocess_test_helper.h ('k') | mojo/common/test/multiprocess_test_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698