OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_MAC_LAUNCHD_H_ | |
6 #define CHROME_BROWSER_MAC_LAUNCHD_H_ | |
7 #pragma once | |
8 | |
9 #include <sys/types.h> | |
10 | |
11 #include <string> | |
12 | |
13 namespace launchd { | |
14 | |
15 // Returns the process ID for |job_label|, or -1 on error. | |
16 pid_t PIDForJob(const std::string& job_label); | |
17 | |
18 } // namespace launchd | |
19 | |
20 #endif // CHROME_BROWSER_MAC_LAUNCHD_H_ | |
OLD | NEW |