From b6128aaba9e7c148d1a71710b1d7de5d101f9967 Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Thu, 29 Apr 2010 17:44:42 +0000 Subject: Move common code into process_util.cc. Fix namespace usage. Change ProcessEntry to have a common interface accross platforms and change ProcessFilter::Includes() to make use of it. Split NamedProcessIterator in two. BUG=none TEST=none Review URL: http://codereview.chromium.org/1689012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45953 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/memory_details_mac.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'chrome/browser/memory_details_mac.cc') diff --git a/chrome/browser/memory_details_mac.cc b/chrome/browser/memory_details_mac.cc index dd1116b5..bf58193 100644 --- a/chrome/browser/memory_details_mac.cc +++ b/chrome/browser/memory_details_mac.cc @@ -106,8 +106,8 @@ void MemoryDetails::CollectProcessData( NULL); while (const base::ProcessEntry* entry = process_it.NextProcessEntry()) { - pids_by_browser[index].push_back(entry->pid); - all_pids.push_back(entry->pid); + pids_by_browser[index].push_back(entry->pid()); + all_pids.push_back(entry->pid()); } } @@ -117,8 +117,8 @@ void MemoryDetails::CollectProcessData( base::NamedProcessIterator helper_it(chrome::kHelperProcessExecutableName, NULL); while (const base::ProcessEntry* entry = helper_it.NextProcessEntry()) { - helper_pids.push_back(entry->pid); - all_pids.push_back(entry->pid); + helper_pids.push_back(entry->pid()); + all_pids.push_back(entry->pid()); } } -- cgit v1.1