summaryrefslogtreecommitdiffstats
path: root/mojo/edk/test/multiprocess_test_helper.h
diff options
context:
space:
mode:
authorrvargas <rvargas@chromium.org>2015-01-12 14:23:23 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-12 22:25:04 +0000
commit07b589c1f6c4d0aac24e270a13fa83031bf2038c (patch)
tree18a5284042b77bb6845194277e8dea006576b636 /mojo/edk/test/multiprocess_test_helper.h
parentd44cce5915db087d726ed2e141896401edeb09b7 (diff)
downloadchromium_src-07b589c1f6c4d0aac24e270a13fa83031bf2038c.zip
chromium_src-07b589c1f6c4d0aac24e270a13fa83031bf2038c.tar.gz
chromium_src-07b589c1f6c4d0aac24e270a13fa83031bf2038c.tar.bz2
MultiProcessTest: Update SpawnChild* to return a Process.
We should not be dealing with raw handles. BUG=417532 Review URL: https://codereview.chromium.org/843113003 Cr-Commit-Position: refs/heads/master@{#311127}
Diffstat (limited to 'mojo/edk/test/multiprocess_test_helper.h')
-rw-r--r--mojo/edk/test/multiprocess_test_helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mojo/edk/test/multiprocess_test_helper.h b/mojo/edk/test/multiprocess_test_helper.h
index d131460..e40b309c 100644
--- a/mojo/edk/test/multiprocess_test_helper.h
+++ b/mojo/edk/test/multiprocess_test_helper.h
@@ -8,7 +8,7 @@
#include <string>
#include "base/macros.h"
-#include "base/process/process_handle.h"
+#include "base/process/process.h"
#include "base/test/multiprocess_test.h"
#include "base/test/test_timeouts.h"
#include "mojo/edk/embedder/scoped_platform_handle.h"
@@ -58,7 +58,7 @@ class MultiprocessTestHelper {
scoped_ptr<embedder::PlatformChannelPair> platform_channel_pair_;
// Valid after |StartChild()| and before |WaitForChildShutdown()|.
- base::ProcessHandle test_child_handle_;
+ base::Process test_child_;
DISALLOW_COPY_AND_ASSIGN(MultiprocessTestHelper);
};