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

Unified Diff: base/process_util.h

Issue 9176013: [ChromeOS] Add option to set controlling terminal when launching process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 11 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 | base/process_util_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process_util.h
diff --git a/base/process_util.h b/base/process_util.h
index 9bcd6d451b51f94d8ad45b8975f50eebfd6294bc..eaa284f765d0b3ebb4867dff15b52dce9830424a 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -225,6 +225,9 @@ struct LaunchOptions {
#if defined(OS_LINUX)
, clone_flags(0)
#endif // OS_LINUX
+#if defined(OS_CHROMEOS)
+ , ctrl_terminal_fd(-1)
+#endif // OS_CHROMEOS
#if defined(OS_MACOSX)
, synchronize(NULL)
#endif // defined(OS_MACOSX)
@@ -282,6 +285,12 @@ struct LaunchOptions {
int clone_flags;
#endif // defined(OS_LINUX)
+#if defined(OS_CHROMEOS)
+ // If non-negative, the specified file descriptor will be set as the launched
+ // process' controlling terminal.
+ int ctrl_terminal_fd;
+#endif // defined(OS_CHROMEOS)
+
#if defined(OS_MACOSX)
// When non-NULL, a new LaunchSynchronizationHandle will be created and
// stored in *synchronize whenever LaunchProcess returns true in the parent
« no previous file with comments | « no previous file | base/process_util_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698