diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-08 15:52:45 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-08 15:52:45 +0000 |
commit | a5a00b1dd7a4950de617bb9bb9bc596d1f89965f (patch) | |
tree | bfa6a819deb40647392a5b4db31d26e428eb0e37 /chrome/test/chrome_process_util.h | |
parent | 152c76a49742732b72d061032979d5b27ca2af28 (diff) | |
download | chromium_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/test/chrome_process_util.h')
-rw-r--r-- | chrome/test/chrome_process_util.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/chrome/test/chrome_process_util.h b/chrome/test/chrome_process_util.h index 94e0355..31bb897 100644 --- a/chrome/test/chrome_process_util.h +++ b/chrome/test/chrome_process_util.h @@ -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. @@ -46,7 +46,7 @@ class ChromeTestProcessMetrics { return process_metrics_->GetPeakWorkingSetSize(); } - bool GetIOCounters(IoCounters* io_counters) { + bool GetIOCounters(base::IoCounters* io_counters) { return process_metrics_->GetIOCounters(io_counters); } @@ -54,10 +54,11 @@ class ChromeTestProcessMetrics { private: explicit ChromeTestProcessMetrics(base::ProcessHandle process) { - process_metrics_.reset( #if !defined(OS_MACOSX) + process_metrics_.reset( base::ProcessMetrics::CreateProcessMetrics(process)); #else + process_metrics_.reset( base::ProcessMetrics::CreateProcessMetrics(process, NULL)); #endif process_handle_ = process; @@ -89,7 +90,7 @@ typedef std::vector<MacChromeProcessInfo> MacChromeProcessInfoList; // Any ProcessId that info can't be found for will be left out. MacChromeProcessInfoList GetRunningMacProcessInfo( - const ChromeProcessList &process_list); + const ChromeProcessList& process_list); #endif // defined(OS_MACOSX) |