diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-09 21:46:08 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-09 21:46:08 +0000 |
commit | c48d860319ac3295316daf9456643a6aefdc4a22 (patch) | |
tree | 263bd5a15d3fd4e79301f67eb5abf73246eee542 /base/process_util.h | |
parent | 147e7d4eb5d6882bb1c5bdca6b1b5e6b1ee2baa1 (diff) | |
download | chromium_src-c48d860319ac3295316daf9456643a6aefdc4a22.zip chromium_src-c48d860319ac3295316daf9456643a6aefdc4a22.tar.gz chromium_src-c48d860319ac3295316daf9456643a6aefdc4a22.tar.bz2 |
linux components: expose functions used by tests
Review URL: http://codereview.chromium.org/6985006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84693 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util.h')
-rw-r--r-- | base/process_util.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/base/process_util.h b/base/process_util.h index 5810ce3..3e758d4 100644 --- a/base/process_util.h +++ b/base/process_util.h @@ -279,10 +279,12 @@ BASE_API bool LaunchApp(const std::vector<std::string>& argv, // Similar to the above two methods, but starts the child process in a process // group of its own, instead of allowing it to inherit the parent's process // group. The pgid of the child process will be the same as its pid. -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); +BASE_API 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); // AlterEnvironment returns a modified environment vector, constructed from the // given environment and the list of changes given in |changes|. Each key in @@ -348,7 +350,7 @@ BASE_API bool KillProcess(ProcessHandle process, int exit_code, bool wait); #if defined(OS_POSIX) // Attempts to kill the process group identified by |process_group_id|. Returns // true on success. -bool KillProcessGroup(ProcessHandle process_group_id); +BASE_API bool KillProcessGroup(ProcessHandle process_group_id); #endif #if defined(OS_WIN) |