summaryrefslogtreecommitdiffstats
path: root/chrome/browser/mac/launchd.h
diff options
context:
space:
mode:
authorlambroslambrou@chromium.org <lambroslambrou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-29 16:57:53 +0000
committerlambroslambrou@chromium.org <lambroslambrou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-29 16:57:53 +0000
commitfd1c931540c431023b09927b717ba848daefc369 (patch)
tree4030d49336ea3d3074a231f2645888c301182138 /chrome/browser/mac/launchd.h
parentc849fab653f06cbb9246eeafa5b7d1f5281cc251 (diff)
downloadchromium_src-fd1c931540c431023b09927b717ba848daefc369.zip
chromium_src-fd1c931540c431023b09927b717ba848daefc369.tar.gz
chromium_src-fd1c931540c431023b09927b717ba848daefc369.tar.bz2
Move launchd code from chrome/browser/mac to base/mac.
This is to allow the code to be used by the Chromoting host plugin. Also expand the interface of PIDForJob() to report if a job is loaded but not running. BUG=None TEST=Compiles, unit-tests pass Review URL: https://chromiumcodereview.appspot.com/9837098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129636 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/mac/launchd.h')
-rw-r--r--chrome/browser/mac/launchd.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/chrome/browser/mac/launchd.h b/chrome/browser/mac/launchd.h
deleted file mode 100644
index a65e354..0000000
--- a/chrome/browser/mac/launchd.h
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_MAC_LAUNCHD_H_
-#define CHROME_BROWSER_MAC_LAUNCHD_H_
-#pragma once
-
-#include <sys/types.h>
-
-#include <string>
-
-namespace launchd {
-
-// Returns the process ID for |job_label|, or -1 on error.
-pid_t PIDForJob(const std::string& job_label);
-
-} // namespace launchd
-
-#endif // CHROME_BROWSER_MAC_LAUNCHD_H_