summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-03 14:12:39 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-03 14:12:39 +0000
commit95869cd7937eb500860565b02aa81f56f793b304 (patch)
treee9c9f741c2ee58d20181ac84639684f5b6dad603 /base
parentdcbad7a2eb369b152ce9ba6add18d8d864f80b4f (diff)
downloadchromium_src-95869cd7937eb500860565b02aa81f56f793b304.zip
chromium_src-95869cd7937eb500860565b02aa81f56f793b304.tar.gz
chromium_src-95869cd7937eb500860565b02aa81f56f793b304.tar.bz2
Add BASE_EXPORT macros to base ... again.
BUG=90078 TEST=none Review URL: https://chromiumcodereview.appspot.com/9959092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130367 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/mac/launchd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/mac/launchd.h b/base/mac/launchd.h
index b693687..e38bf51 100644
--- a/base/mac/launchd.h
+++ b/base/mac/launchd.h
@@ -11,6 +11,8 @@
#include <string>
+#include "base/base_export.h"
+
namespace base {
namespace mac {
@@ -18,11 +20,13 @@ namespace mac {
// mapping |operation| to |job_label|, and returns the result of calling
// launch_msg to send that message. On failure, returns NULL. The caller
// assumes ownership of the returned launch_data_t object.
+BASE_EXPORT
launch_data_t MessageForJob(const std::string& job_label,
const char* operation);
// Returns the process ID for |job_label| if the job is running, 0 if the job
// is loaded but not running, or -1 on error.
+BASE_EXPORT
pid_t PIDForJob(const std::string& job_label);
} // namespace mac