diff options
Diffstat (limited to 'chrome/browser/mac/launchd.h')
-rw-r--r-- | chrome/browser/mac/launchd.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/mac/launchd.h b/chrome/browser/mac/launchd.h index f2e9bdd..a65e354 100644 --- a/chrome/browser/mac/launchd.h +++ b/chrome/browser/mac/launchd.h @@ -6,12 +6,14 @@ #define CHROME_BROWSER_MAC_LAUNCHD_H_ #pragma once +#include <sys/types.h> + #include <string> namespace launchd { -// Sends a signal to the job at |job_label|. -void SignalJob(const std::string& job_label, int signal); +// Returns the process ID for |job_label|, or -1 on error. +pid_t PIDForJob(const std::string& job_label); } // namespace launchd |