summaryrefslogtreecommitdiffstats
path: root/base/multiprocess_test.h
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-14 03:25:15 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-14 03:25:15 +0000
commit176aa48371da91eb98d675d87b4e70c7b26d696f (patch)
tree4c972de6ecd5a54650ab1dc7d421187f5d25834f /base/multiprocess_test.h
parent9a3f0ac2899139ace97e399015259d028b4d5704 (diff)
downloadchromium_src-176aa48371da91eb98d675d87b4e70c7b26d696f.zip
chromium_src-176aa48371da91eb98d675d87b4e70c7b26d696f.tar.gz
chromium_src-176aa48371da91eb98d675d87b4e70c7b26d696f.tar.bz2
Add Terminate() to the Process object, have RenderProcessHost use this to avoid some more Windows specific code.
Move Process and SharedMemory into the base namespace (most changes). Review URL: http://codereview.chromium.org/10895 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5446 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/multiprocess_test.h')
-rw-r--r--base/multiprocess_test.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/multiprocess_test.h b/base/multiprocess_test.h
index 69aa50b..a85334e 100644
--- a/base/multiprocess_test.h
+++ b/base/multiprocess_test.h
@@ -51,14 +51,14 @@ class MultiProcessTest : public PlatformTest {
//
// TODO(darin): re-enable this once we have base/debug_util.h
// ProcessDebugFlags(&cl, DebugUtil::UNKNOWN, false);
- ProcessHandle SpawnChild(const std::wstring& procname) {
+ base::ProcessHandle SpawnChild(const std::wstring& procname) {
CommandLine cl;
- ProcessHandle handle = static_cast<ProcessHandle>(NULL);
+ base::ProcessHandle handle = static_cast<base::ProcessHandle>(NULL);
#if defined(OS_WIN)
std::wstring clstr = cl.command_line_string();
CommandLine::AppendSwitchWithValue(&clstr, kRunClientProcess, procname);
- process_util::LaunchApp(clstr, false, true, &handle);
+ base::LaunchApp(clstr, false, true, &handle);
#elif defined(OS_POSIX)
std::vector<std::string> clvec(cl.argv());
std::wstring wswitchstr =
@@ -66,7 +66,7 @@ class MultiProcessTest : public PlatformTest {
procname);
std::string switchstr = WideToUTF8(wswitchstr);
clvec.push_back(switchstr.c_str());
- process_util::LaunchApp(clvec, false, &handle);
+ base::LaunchApp(clvec, false, &handle);
#endif
return handle;