summaryrefslogtreecommitdiffstats
path: root/base/process_util.cc
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-11 19:10:30 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-11 19:10:30 +0000
commitbaead4f9f167731fc67d6fe5e8d8270057c7e530 (patch)
treed990edeb0aed8a1cab94421f066835eef8f57128 /base/process_util.cc
parentd50ec48c066f8933357da543ae3b93ab3c983759 (diff)
downloadchromium_src-baead4f9f167731fc67d6fe5e8d8270057c7e530.zip
chromium_src-baead4f9f167731fc67d6fe5e8d8270057c7e530.tar.gz
chromium_src-baead4f9f167731fc67d6fe5e8d8270057c7e530.tar.bz2
Minor cleanups of usage of process_util code.
BUG=none TEST=none Review URL: http://codereview.chromium.org/2791006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49568 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util.cc')
-rw-r--r--base/process_util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/process_util.cc b/base/process_util.cc
index 8814956..f6e0d84 100644
--- a/base/process_util.cc
+++ b/base/process_util.cc
@@ -43,8 +43,8 @@ bool ProcessIterator::IncludeEntry() {
return !filter_ || filter_->Includes(entry_);
}
-std::list<ProcessEntry> ProcessIterator::Snapshot() {
- std::list<ProcessEntry> found;
+ProcessIterator::ProcessEntries ProcessIterator::Snapshot() {
+ ProcessEntries found;
while (const ProcessEntry* process_entry = NextProcessEntry()) {
found.push_back(*process_entry);
}