Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2004)

Unified Diff: base/process_util_mac.mm

Issue 11224: Add url_request_unittest to mac build. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/net.xcodeproj/project.pbxproj » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process_util_mac.mm
===================================================================
--- base/process_util_mac.mm (revision 5598)
+++ base/process_util_mac.mm (working copy)
@@ -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 @@
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 @@
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
« no previous file with comments | « no previous file | net/net.xcodeproj/project.pbxproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698