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

Unified Diff: mojo/shell/runner/host/child_process_host.h

Issue 1754003002: Properly handle unmanaged processes in mojo::shell:ChildProcessHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/shell/runner/host/child_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/runner/host/child_process_host.h
diff --git a/mojo/shell/runner/host/child_process_host.h b/mojo/shell/runner/host/child_process_host.h
index 0cdbea336970671cf0750d42ea37a53d6a9472eb..4f3082b9f5c75b3e82bd8b402cf575f15e0abc50 100644
--- a/mojo/shell/runner/host/child_process_host.h
+++ b/mojo/shell/runner/host/child_process_host.h
@@ -81,6 +81,10 @@ class ChildProcessHost {
void AppCompleted(int32_t result);
+ // If |true|, the hosted process is neither launched nor owned by this
+ // ChildProcessHost.
+ bool external_process_ = false;
+
scoped_refptr<base::TaskRunner> launch_process_runner_;
NativeRunnerDelegate* delegate_;
bool start_sandboxed_;
« no previous file with comments | « no previous file | mojo/shell/runner/host/child_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698