summaryrefslogtreecommitdiffstats
path: root/base/process_util_mac.mm
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-19 21:41:48 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-19 21:41:48 +0000
commit7a0bb4bf6f68c401e176c592d8d52ac20474deb8 (patch)
tree55c52e150eb667167119c5a564b91a1d969845c4 /base/process_util_mac.mm
parent18dcd5d3fb725565af33f117c746b145362ce6dc (diff)
downloadchromium_src-7a0bb4bf6f68c401e176c592d8d52ac20474deb8.zip
chromium_src-7a0bb4bf6f68c401e176c592d8d52ac20474deb8.tar.gz
chromium_src-7a0bb4bf6f68c401e176c592d8d52ac20474deb8.tar.bz2
Add url_request_unittest to mac build.
Review URL: http://codereview.chromium.org/11224 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5712 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util_mac.mm')
-rw-r--r--base/process_util_mac.mm27
1 files changed, 21 insertions, 6 deletions
diff --git a/base/process_util_mac.mm b/base/process_util_mac.mm
index 0ca6ab8..99843de 100644
--- a/base/process_util_mac.mm
+++ b/base/process_util_mac.mm
@@ -3,6 +3,7 @@
// found in the LICENSE file.
+#include "base/logging.h"
#include "base/process_util.h"
#import <Cocoa/Cocoa.h>
@@ -24,12 +25,12 @@ bool LaunchApp(const std::vector<std::string>& argv,
argv_copy[argv.size()] = NULL;
int pid = 0;
- int spawn_succeeded = (posix_spawn(&pid,
- argv_copy[0],
- NULL,
- NULL,
- argv_copy,
- NULL) == 0);
+ int spawn_succeeded = (posix_spawnp(&pid,
+ argv_copy[0],
+ NULL,
+ NULL,
+ argv_copy,
+ NULL) == 0);
bool process_handle_valid = pid > 0;
if (!spawn_succeeded || !process_handle_valid) {
@@ -63,4 +64,18 @@ bool ProcessMetrics::GetIOCounters(IoCounters* io_counters) {
return false;
}
+int GetProcessCount(const std::wstring& executable_name,
+ const ProcessFilter* filter) {
+ NOTIMPLEMENTED();
+ return 0;
+}
+
+bool CleanupProcesses(const std::wstring& executable_name,
+ int wait_milliseconds,
+ int exit_code,
+ const ProcessFilter* filter) {
+ NOTIMPLEMENTED();
+ return false;
+}
+
} // namespace base