| Index: base/test/multiprocess_test.cc
|
| diff --git a/base/test/multiprocess_test.cc b/base/test/multiprocess_test.cc
|
| index 3f64ef53d04d55deca494b8468341b978d0779f9..4a30b4f19d3220be8acf16e1923725936604de9d 100644
|
| --- a/base/test/multiprocess_test.cc
|
| +++ b/base/test/multiprocess_test.cc
|
| @@ -13,7 +13,7 @@
|
| namespace base {
|
|
|
| #if !defined(OS_ANDROID)
|
| -Process SpawnMultiProcessTestChild(
|
| +SpawnChildResult SpawnMultiProcessTestChild(
|
| const std::string& procname,
|
| const CommandLine& base_command_line,
|
| const LaunchOptions& options) {
|
| @@ -24,7 +24,8 @@ Process SpawnMultiProcessTestChild(
|
| if (!command_line.HasSwitch(switches::kTestChildProcess))
|
| command_line.AppendSwitchASCII(switches::kTestChildProcess, procname);
|
|
|
| - return LaunchProcess(command_line, options);
|
| + SpawnChildResult result = {LaunchProcess(command_line, options)};
|
| + return result;
|
| }
|
|
|
| bool WaitForMultiprocessTestChildExit(const Process& process,
|
| @@ -52,7 +53,7 @@ CommandLine GetMultiProcessTestChildBaseCommandLine() {
|
| MultiProcessTest::MultiProcessTest() {
|
| }
|
|
|
| -Process MultiProcessTest::SpawnChild(const std::string& procname) {
|
| +SpawnChildResult MultiProcessTest::SpawnChild(const std::string& procname) {
|
| LaunchOptions options;
|
| #if defined(OS_WIN)
|
| options.start_hidden = true;
|
| @@ -60,7 +61,7 @@ Process MultiProcessTest::SpawnChild(const std::string& procname) {
|
| return SpawnChildWithOptions(procname, options);
|
| }
|
|
|
| -Process MultiProcessTest::SpawnChildWithOptions(
|
| +SpawnChildResult MultiProcessTest::SpawnChildWithOptions(
|
| const std::string& procname,
|
| const LaunchOptions& options) {
|
| return SpawnMultiProcessTestChild(procname, MakeCmdLine(procname), options);
|
|
|