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

Unified Diff: base/multiprocess_test.h

Issue 10895: Add Terminate() to the Process object, have RenderProcessHost use this to avo... (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 | « base/gfx/platform_canvas_win.cc ('k') | base/process.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/multiprocess_test.h
===================================================================
--- base/multiprocess_test.h (revision 5371)
+++ base/multiprocess_test.h (working copy)
@@ -51,14 +51,14 @@
//
// 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 @@
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;
« no previous file with comments | « base/gfx/platform_canvas_win.cc ('k') | base/process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698