Lines Matching refs:handle

109       base::ProcessHandle handle) {
114 this_object->Notify(handle);
121 handle));
193 base::ProcessHandle handle = base::kNullProcessHandle;
197 base::LaunchElevatedProcess(*cmd_line, options, &handle);
199 handle = StartSandboxedProcess(delegate, cmd_line);
232 base::ProcessHandle handle = base::kNullProcessHandle;
242 handle = ZygoteHostImpl::GetInstance()->ForkRequest(cmd_line->argv(),
298 bool launched = base::LaunchProcess(*cmd_line, options, &handle);
300 handle = base::kNullProcessHandle;
305 GetBootstrapSandbox()->FinishedFork(handle);
309 broker->AddPlaceholderForPid(handle);
318 if (handle)
328 handle));
336 base::ProcessHandle handle) {
342 process_.set_handle(handle);
343 if (!handle)
350 if (handle) {
361 if (!process_.handle())
376 process_.handle()));
380 static void SetProcessBackgrounded(base::ProcessHandle handle,
382 base::Process process(handle);
385 SetChildProcessInForeground(handle, !background);
393 base::ProcessHandle handle) {
395 VLOG(0) << "ChromeProcess: Stopping process with handle " << handle;
396 StopChildProcess(handle);
398 base::Process process(handle);
408 ZygoteHostImpl::GetInstance()->EnsureProcessTerminated(handle);
412 base::EnsureProcessTerminated(handle);
460 return context_->process_.handle();
466 base::ProcessHandle handle = context_->process_.handle();
467 if (handle == base::kNullProcessHandle) {
476 GetTerminationStatus(handle, known_dead, &context_->exit_code_);
479 base::GetKnownDeadTerminationStatus(handle, &context_->exit_code_);
484 base::GetKnownDeadTerminationStatus(handle, &context_->exit_code_);
487 if (IsChildProcessOomProtected(handle)) {
494 base::GetTerminationStatus(handle, &context_->exit_code_);
505 // Terminate via ProcessWatcher. So we can't close the handle here.