summaryrefslogtreecommitdiffstats
path: root/base/process_util_linux.cc
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-14 14:01:58 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-14 14:01:58 +0000
commit0da19221d7b32e3331ad50b2c9e642697e49ff05 (patch)
tree19e1cebe40b9e3a21ed67675769ba82284f42e99 /base/process_util_linux.cc
parent81c78ac1f4407d0a9b1fa1dbb41916ababa225c7 (diff)
downloadchromium_src-0da19221d7b32e3331ad50b2c9e642697e49ff05.zip
chromium_src-0da19221d7b32e3331ad50b2c9e642697e49ff05.tar.gz
chromium_src-0da19221d7b32e3331ad50b2c9e642697e49ff05.tar.bz2
Extract Windows-specific parts of TaskManager.
- task_manager.cc compiles on POSIX - task_manager_unittest.cc passes on Linux - stub TaskManagerViewImpl for Linux (so that the unit test can pass) TEST=Task manager should not be obviously broken on Windows. http://crbug.com/11461 Review URL: http://codereview.chromium.org/115295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16053 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util_linux.cc')
-rw-r--r--base/process_util_linux.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/base/process_util_linux.cc b/base/process_util_linux.cc
index 178fbce..ed8d32d 100644
--- a/base/process_util_linux.cc
+++ b/base/process_util_linux.cc
@@ -231,6 +231,16 @@ size_t ProcessMetrics::GetPeakWorkingSetSize() const {
return 0;
}
+size_t ProcessMetrics::GetPrivateBytes() const {
+ NOTIMPLEMENTED();
+ return 0;
+}
+
+bool ProcessMetrics::GetWorkingSetKBytes(WorkingSetKBytes* ws_usage) const {
+ NOTIMPLEMENTED();
+ return false;
+}
+
// To have /proc/self/io file you must enable CONFIG_TASK_IO_ACCOUNTING
// in your kernel configuration.
bool ProcessMetrics::GetIOCounters(IoCounters* io_counters) const {