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

Unified Diff: base/process_util.h

Issue 7284018: posix: remove LaunchAppInNewProcessGroup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/common/launchd_mac.mm » ('j') | chrome/common/launchd_mac.mm » ('J')
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 8deb702e260851dcd0744e003c904c454e757b98..88c7d67793b9570082ca6349d88f78490302877f 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -361,22 +361,6 @@ inline bool LaunchApp(const std::vector<std::string>& argv,
return LaunchProcess(argv, options);
}
-// TODO(evan): deprecated; change callers to use LaunchProcess, remove.
-inline bool LaunchAppInNewProcessGroup(
- const std::vector<std::string>& argv,
- const environment_vector& environ,
- const file_handle_mapping_vector& fds_to_remap,
- bool wait,
- ProcessHandle* process_handle) {
- LaunchOptions options;
- options.environ = &environ;
- options.fds_to_remap = &fds_to_remap;
- options.wait = wait;
- options.process_handle = process_handle;
- options.new_process_group = true;
- return LaunchProcess(argv, options);
-}
-
// AlterEnvironment returns a modified environment vector, constructed from the
// given environment and the list of changes given in |changes|. Each key in
// the environment is matched against the first element of the pairs. In the
« no previous file with comments | « no previous file | chrome/common/launchd_mac.mm » ('j') | chrome/common/launchd_mac.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698