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

Side by Side Diff: base/process/launch.h

Issue 2053953002: Add chrome_crash_reporter_client_win.cc to the source file list for chrome_elf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « base/message_loop/message_pump_win.cc ('k') | base/process/launch_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file contains functions for launching subprocesses. 5 // This file contains functions for launching subprocesses.
6 6
7 #ifndef BASE_PROCESS_LAUNCH_H_ 7 #ifndef BASE_PROCESS_LAUNCH_H_
8 #define BASE_PROCESS_LAUNCH_H_ 8 #define BASE_PROCESS_LAUNCH_H_
9 9
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // If true, wait for the process to complete. 65 // If true, wait for the process to complete.
66 bool wait; 66 bool wait;
67 67
68 // If not empty, change to this directory before executing the new process. 68 // If not empty, change to this directory before executing the new process.
69 base::FilePath current_directory; 69 base::FilePath current_directory;
70 70
71 #if defined(OS_WIN) 71 #if defined(OS_WIN)
72 bool start_hidden; 72 bool start_hidden;
73 73
74 // If non-null, inherit exactly the list of handles in this vector (these 74 // If non-null, inherit exactly the list of handles in this vector (these
75 // handles must be inheritable). This is only supported on Vista and higher. 75 // handles must be inheritable).
76 HandlesToInheritVector* handles_to_inherit; 76 HandlesToInheritVector* handles_to_inherit;
77 77
78 // If true, the new process inherits handles from the parent. In production 78 // If true, the new process inherits handles from the parent. In production
79 // code this flag should be used only when running short-lived, trusted 79 // code this flag should be used only when running short-lived, trusted
80 // binaries, because open handles from other libraries and subsystems will 80 // binaries, because open handles from other libraries and subsystems will
81 // leak to the child process, causing errors such as open socket hangs. 81 // leak to the child process, causing errors such as open socket hangs.
82 // Note: If |handles_to_inherit| is non-null, this flag is ignored and only 82 // Note: If |handles_to_inherit| is non-null, this flag is ignored and only
83 // those handles will be inherited (on Vista and higher). 83 // those handles will be inherited.
84 bool inherit_handles; 84 bool inherit_handles;
85 85
86 // If non-null, runs as if the user represented by the token had launched it. 86 // If non-null, runs as if the user represented by the token had launched it.
87 // Whether the application is visible on the interactive desktop depends on 87 // Whether the application is visible on the interactive desktop depends on
88 // the token belonging to an interactive logon session. 88 // the token belonging to an interactive logon session.
89 // 89 //
90 // To avoid hard to diagnose problems, when specified this loads the 90 // To avoid hard to diagnose problems, when specified this loads the
91 // environment variables associated with the user and if this operation fails 91 // environment variables associated with the user and if this operation fails
92 // the entire call fails as well. 92 // the entire call fails as well.
93 UserTokenHandle as_user; 93 UserTokenHandle as_user;
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 // multiple threads are running, since at the time the fork happened, the 305 // multiple threads are running, since at the time the fork happened, the
306 // threads could have been in any state (potentially holding locks, etc.). 306 // threads could have been in any state (potentially holding locks, etc.).
307 // Callers should most likely call execve() in the child soon after calling 307 // Callers should most likely call execve() in the child soon after calling
308 // this. 308 // this.
309 BASE_EXPORT pid_t ForkWithFlags(unsigned long flags, pid_t* ptid, pid_t* ctid); 309 BASE_EXPORT pid_t ForkWithFlags(unsigned long flags, pid_t* ptid, pid_t* ctid);
310 #endif 310 #endif
311 311
312 } // namespace base 312 } // namespace base
313 313
314 #endif // BASE_PROCESS_LAUNCH_H_ 314 #endif // BASE_PROCESS_LAUNCH_H_
OLDNEW
« no previous file with comments | « base/message_loop/message_pump_win.cc ('k') | base/process/launch_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698