diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 03:25:15 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 03:25:15 +0000 |
commit | 176aa48371da91eb98d675d87b4e70c7b26d696f (patch) | |
tree | 4c972de6ecd5a54650ab1dc7d421187f5d25834f /chrome/browser/browser_init.cc | |
parent | 9a3f0ac2899139ace97e399015259d028b4d5704 (diff) | |
download | chromium_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 'chrome/browser/browser_init.cc')
-rw-r--r-- | chrome/browser/browser_init.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chrome/browser/browser_init.cc b/chrome/browser/browser_init.cc index ff9cb3f..4bf49f6 100644 --- a/chrome/browser/browser_init.cc +++ b/chrome/browser/browser_init.cc @@ -161,7 +161,7 @@ bool BrowserInit::MessageWindow::NotifyOtherProcess() { } // 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; } @@ -295,7 +295,7 @@ void BrowserInit::MessageWindow::HuntForZombieChromeProcesses() { // 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;;) { @@ -337,9 +337,7 @@ void BrowserInit::MessageWindow::HuntForZombieChromeProcesses() { }; ZombieDetector zombie_detector; - process_util::KillProcesses(L"chrome.exe", - ResultCodes::HUNG, - &zombie_detector); + base::KillProcesses(L"chrome.exe", ResultCodes::HUNG, &zombie_detector); } |