summaryrefslogtreecommitdiffstats
path: root/base/process_util_linux.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-14 00:11:06 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-14 00:11:06 +0000
commit8881d8794f13bf12d8ed7ce93fd163b9992aeb28 (patch)
treeee681ad655fca29c7946d0c57fe3908080d236c7 /base/process_util_linux.cc
parent77848d1c600524c50dee24c055b21a210f02e52f (diff)
downloadchromium_src-8881d8794f13bf12d8ed7ce93fd163b9992aeb28.zip
chromium_src-8881d8794f13bf12d8ed7ce93fd163b9992aeb28.tar.gz
chromium_src-8881d8794f13bf12d8ed7ce93fd163b9992aeb28.tar.bz2
Unfork test_shell_main_gtk back into test_shell_main.
Still doesn't run layout tests, but it's unforked and runs. Review URL: http://codereview.chromium.org/10905 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5413 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util_linux.cc')
-rw-r--r--base/process_util_linux.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/process_util_linux.cc b/base/process_util_linux.cc
index db92ed9..2dba808 100644
--- a/base/process_util_linux.cc
+++ b/base/process_util_linux.cc
@@ -322,4 +322,9 @@ bool ProcessMetrics::GetIOCounters(IoCounters* io_counters) {
return true;
}
+int ProcessMetrics::GetCPUUsage() {
+ // TODO(port): This needs to be replaced by an call to getrusage().
+ return -1;
+}
+
} // namespace process_util