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

Unified Diff: base/process_util_win.cc

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/process_util_unittest.cc ('k') | base/process_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process_util_win.cc
===================================================================
--- base/process_util_win.cc (revision 5371)
+++ base/process_util_win.cc (working copy)
@@ -22,7 +22,7 @@
} // namespace
-namespace process_util {
+namespace base {
int GetCurrentProcId() {
return ::GetCurrentProcessId();
@@ -331,11 +331,11 @@
int wait_milliseconds,
int exit_code,
const ProcessFilter* filter) {
- bool exited_cleanly =
- process_util::WaitForProcessesToExit(executable_name, wait_milliseconds,
- filter);
+ bool exited_cleanly = WaitForProcessesToExit(executable_name,
+ wait_milliseconds,
+ filter);
if (!exited_cleanly)
- process_util::KillProcesses(executable_name, exit_code, filter);
+ KillProcesses(executable_name, exit_code, filter);
return exited_cleanly;
}
@@ -617,4 +617,4 @@
SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
}
-} // namespace process_util
+} // namespace base
« no previous file with comments | « base/process_util_unittest.cc ('k') | base/process_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698