| Index: content/browser/child_process_launcher.cc
|
| diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc
|
| index 5a655368aa8bac219446a3ea3586a4c7b6eb7666..338227a4043c2fc909aa33fb3877c0d1d8665331 100644
|
| --- a/content/browser/child_process_launcher.cc
|
| +++ b/content/browser/child_process_launcher.cc
|
| @@ -432,6 +432,7 @@ void ChildProcessLauncher::Launch(
|
| SandboxedProcessLauncherDelegate* delegate,
|
| base::CommandLine* cmd_line,
|
| int child_process_id) {
|
| + fprintf(stderr, "Launch: %s\n", cmd_line->GetCommandLineString().c_str()); fflush(stderr);
|
| DCHECK(CalledOnValidThread());
|
|
|
| #if defined(OS_ANDROID)
|
| @@ -529,6 +530,7 @@ void ChildProcessLauncher::DidLaunch(
|
| #endif
|
| base::Process process,
|
| int error_code) {
|
| + fprintf(stderr, "DidLaunch\n"); fflush(stderr);
|
| if (!process.IsValid())
|
| LOG(ERROR) << "Failed to launch child process";
|
|
|
| @@ -593,14 +595,17 @@ const base::Process& ChildProcessLauncher::GetProcess() const {
|
| base::TerminationStatus ChildProcessLauncher::GetChildTerminationStatus(
|
| bool known_dead,
|
| int* exit_code) {
|
| + fprintf(stderr, "GetChildTerminationStatus\n"); fflush(stderr);
|
| DCHECK(CalledOnValidThread());
|
| if (!process_.IsValid()) {
|
| + fprintf(stderr, "cached status: %d\n", termination_status_); fflush(stderr);
|
| // Process is already gone, so return the cached termination status.
|
| if (exit_code)
|
| *exit_code = exit_code_;
|
| return termination_status_;
|
| }
|
|
|
| + fprintf(stderr, "UpdateTerminationStatus\n"); fflush(stderr);
|
| UpdateTerminationStatus(known_dead);
|
| if (exit_code)
|
| *exit_code = exit_code_;
|
|
|