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

Unified Diff: base/process/launch.h

Issue 2692273008: Hacky slashy (Closed)
Patch Set: rebase on config CL, and minor fixes Created 3 years, 7 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 | « base/process/kill_fuchsia.cc ('k') | base/process/launch_fuchsia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/launch.h
diff --git a/base/process/launch.h b/base/process/launch.h
index 99a7280cb35e261c8c99d9188035eee310de687f..ad2734c2d6908fecc161210b527f9264e807e49b 100644
--- a/base/process/launch.h
+++ b/base/process/launch.h
@@ -27,6 +27,10 @@
#include <windows.h>
#endif
+#if defined(OS_FUCHSIA)
+#include <magenta/types.h>
+#endif
+
namespace base {
class CommandLine;
@@ -153,6 +157,13 @@ struct BASE_EXPORT LaunchOptions {
bool kill_on_parent_death = false;
#endif // defined(OS_LINUX)
+#if defined(OS_FUCHSIA)
+ // If valid, launches the application in that job object. The process will be
+ // terminated immediately and LaunchProcess() will fail if assignment to the
+ // job object fails.
+ mx_handle_t job_handle = MX_HANDLE_INVALID;
+#endif // OS_FUCHSIA
+
#if defined(OS_POSIX)
// If not empty, launch the specified executable instead of
// cmdline.GetProgram(). This is useful when it is necessary to pass a custom
« no previous file with comments | « base/process/kill_fuchsia.cc ('k') | base/process/launch_fuchsia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698