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
This commit is contained in:
base
net
@ -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
|
||||
|
Reference in New Issue
Block a user