summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-08 15:52:45 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-08 15:52:45 +0000
commita5a00b1dd7a4950de617bb9bb9bc596d1f89965f (patch)
treebfa6a819deb40647392a5b4db31d26e428eb0e37 /chrome_frame
parent152c76a49742732b72d061032979d5b27ca2af28 (diff)
downloadchromium_src-a5a00b1dd7a4950de617bb9bb9bc596d1f89965f.zip
chromium_src-a5a00b1dd7a4950de617bb9bb9bc596d1f89965f.tar.gz
chromium_src-a5a00b1dd7a4950de617bb9bb9bc596d1f89965f.tar.bz2
Move ProcessEntry and IoCounters inside namespace base.
TEST=none BUG=none Review URL: http://codereview.chromium.org/1599007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43949 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/test_utils.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome_frame/test_utils.cc b/chrome_frame/test_utils.cc
index e1d33fe..319aa54 100644
--- a/chrome_frame/test_utils.cc
+++ b/chrome_frame/test_utils.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -268,10 +268,9 @@ class ArgumentFilter : public base::ProcessFilter {
bool KillAllNamedProcessesWithArgument(const std::wstring& process_name,
const std::wstring& argument) {
bool result = true;
- const ProcessEntry* entry;
ArgumentFilter filter(argument);
base::NamedProcessIterator iter(process_name, &filter);
- while (entry = iter.NextProcessEntry()) {
+ while (const base::ProcessEntry* entry = iter.NextProcessEntry()) {
if (!base::KillProcessById((*entry).th32ProcessID, 0, true)) {
DLOG(ERROR) << "Failed to kill process " << (*entry).th32ProcessID;
result = false;