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

Unified Diff: chrome/browser/browser_init.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 | « chrome/browser/browser.cc ('k') | chrome/browser/browser_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_init.cc
===================================================================
--- chrome/browser/browser_init.cc (revision 5371)
+++ chrome/browser/browser_init.cc (working copy)
@@ -177,7 +177,7 @@
}
// Time to take action. Kill the browser process.
- process_util::KillProcess(process_id, ResultCodes::HUNG, true);
+ base::KillProcess(process_id, ResultCodes::HUNG, true);
remote_window_ = NULL;
return false;
}
@@ -320,7 +320,7 @@
// Retrieve the list of browser processes on start. This list is then used to
// detect zombie renderer process or plugin process.
- class ZombieDetector : public process_util::ProcessFilter {
+ class ZombieDetector : public base::ProcessFilter {
public:
ZombieDetector() {
for (HWND window = NULL;;) {
@@ -362,9 +362,7 @@
};
ZombieDetector zombie_detector;
- process_util::KillProcesses(L"chrome.exe",
- ResultCodes::HUNG,
- &zombie_detector);
+ base::KillProcesses(L"chrome.exe", ResultCodes::HUNG, &zombie_detector);
}
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698