summaryrefslogtreecommitdiffstats
path: root/base/process_util.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-06 21:32:03 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-06 21:32:03 +0000
commitfc0132eab0cdb96439dc1aa996a2791adcfe3926 (patch)
tree632292416812c7be1dcf6091eeb2d9a469e357ab /base/process_util.h
parent1839897cf3bc54bc50759ae1db532be9e4e60255 (diff)
downloadchromium_src-fc0132eab0cdb96439dc1aa996a2791adcfe3926.zip
chromium_src-fc0132eab0cdb96439dc1aa996a2791adcfe3926.tar.gz
chromium_src-fc0132eab0cdb96439dc1aa996a2791adcfe3926.tar.bz2
posix: remove LaunchAppInNewProcessGroup
Due to refactoring, we can use the common API for this. Review URL: http://codereview.chromium.org/7284018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91612 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util.h')
-rw-r--r--base/process_util.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/base/process_util.h b/base/process_util.h
index 3ef3e8e..d6b9b64 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -371,22 +371,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