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

Unified Diff: chrome/browser/task_manager/task_manager_tester.h

Issue 2593233003: Add a task manager column that shows memory state of processes (Closed)
Patch Set: fix compile error Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/task_manager/task_manager_tester.h
diff --git a/chrome/browser/task_manager/task_manager_tester.h b/chrome/browser/task_manager/task_manager_tester.h
index 94d075f43069ba9ee675bebbe35c5fdb7ead4cf7..d762beb99e6006a5291480f5a6a33b02cc73f49b 100644
--- a/chrome/browser/task_manager/task_manager_tester.h
+++ b/chrome/browser/task_manager/task_manager_tester.h
@@ -10,6 +10,7 @@
#include <memory>
#include "base/callback_forward.h"
+#include "base/memory/memory_coordinator_client.h"
#include "base/strings/string16.h"
#include "chrome/browser/task_manager/task_manager_browsertest_util.h"
@@ -50,6 +51,9 @@ class TaskManagerTester {
// return -1.
int32_t GetTabId(int row);
+ // Return the memory state of the process which is associated with |row|.
+ base::MemoryState GetMemoryState(int row);
+
// Kill the process of |row|.
void Kill(int row);
« no previous file with comments | « chrome/browser/task_manager/task_manager_observer.h ('k') | chrome/browser/task_manager/task_manager_tester.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698