Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(857)

Side by Side Diff: chrome/browser/task_management/test_task_manager.cc

Issue 1845893002: [ChromeOS] Add Swapped Memory to TaskManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/task_management/test_task_manager.h" 5 #include "chrome/browser/task_management/test_task_manager.h"
6 6
7 namespace task_management { 7 namespace task_management {
8 8
9 TestTaskManager::TestTaskManager() 9 TestTaskManager::TestTaskManager()
10 : handle_(base::kNullProcessHandle), 10 : handle_(base::kNullProcessHandle),
(...skipping 21 matching lines...) Expand all
32 } 32 }
33 33
34 int64_t TestTaskManager::GetPrivateMemoryUsage(TaskId task_id) const { 34 int64_t TestTaskManager::GetPrivateMemoryUsage(TaskId task_id) const {
35 return -1; 35 return -1;
36 } 36 }
37 37
38 int64_t TestTaskManager::GetSharedMemoryUsage(TaskId task_id) const { 38 int64_t TestTaskManager::GetSharedMemoryUsage(TaskId task_id) const {
39 return -1; 39 return -1;
40 } 40 }
41 41
42 int64_t TestTaskManager::GetSwappedMemoryUsage(TaskId task_id) const {
43 return -1;
44 }
45
42 int64_t TestTaskManager::GetGpuMemoryUsage(TaskId task_id, 46 int64_t TestTaskManager::GetGpuMemoryUsage(TaskId task_id,
43 bool* has_duplicates) const { 47 bool* has_duplicates) const {
44 return -1; 48 return -1;
45 } 49 }
46 50
47 int TestTaskManager::GetIdleWakeupsPerSecond(TaskId task_id) const { 51 int TestTaskManager::GetIdleWakeupsPerSecond(TaskId task_id) const {
48 return -1; 52 return -1;
49 } 53 }
50 54
51 int TestTaskManager::GetNaClDebugStubPort(TaskId task_id) const { 55 int TestTaskManager::GetNaClDebugStubPort(TaskId task_id) const {
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 160
157 base::TimeDelta TestTaskManager::GetRefreshTime() { 161 base::TimeDelta TestTaskManager::GetRefreshTime() {
158 return GetCurrentRefreshTime(); 162 return GetCurrentRefreshTime();
159 } 163 }
160 164
161 int64_t TestTaskManager::GetEnabledFlags() { 165 int64_t TestTaskManager::GetEnabledFlags() {
162 return enabled_resources_flags(); 166 return enabled_resources_flags();
163 } 167 }
164 168
165 } // namespace task_management 169 } // namespace task_management
OLDNEW
« no previous file with comments | « chrome/browser/task_management/test_task_manager.h ('k') | chrome/browser/ui/task_manager/task_manager_columns.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698