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

Unified Diff: chrome/browser/memory_details.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/memory_details.h ('k') | chrome/browser/plugin_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/memory_details.cc
===================================================================
--- chrome/browser/memory_details.cc (revision 5371)
+++ chrome/browser/memory_details.cc (working copy)
@@ -79,7 +79,7 @@
continue;
PluginProcessInformation info;
- info.pid = process_util::GetProcId(plugin->process());
+ info.pid = base::GetProcId(plugin->process());
if (info.pid != 0) {
info.dll_path = plugin->dll_path();
plugins_.push_back(info);
@@ -129,9 +129,8 @@
// Get Memory Information.
ProcessMemoryInformation info;
info.pid = process_list[index];
- scoped_ptr<process_util::ProcessMetrics> metrics;
- metrics.reset(
- process_util::ProcessMetrics::CreateProcessMetrics(handle));
+ scoped_ptr<base::ProcessMetrics> metrics;
+ metrics.reset(base::ProcessMetrics::CreateProcessMetrics(handle));
metrics->GetCommittedKBytes(&info.committed);
metrics->GetWorkingSetKBytes(&info.working_set);
« no previous file with comments | « chrome/browser/memory_details.h ('k') | chrome/browser/plugin_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698