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

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

Issue 2653563003: Add a "Keepalive count" column to Task Manager. (Closed)
Patch Set: Address review comment re description 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_interface.h
diff --git a/chrome/browser/task_manager/task_manager_interface.h b/chrome/browser/task_manager/task_manager_interface.h
index 24599030b7cf7c74df49ebc08fc4039772cd8bdb..30caeca19363111a9a7d651bfd70cc081725f1ab 100644
--- a/chrome/browser/task_manager/task_manager_interface.h
+++ b/chrome/browser/task_manager/task_manager_interface.h
@@ -201,6 +201,9 @@ class TaskManagerInterface {
TaskId task_id,
blink::WebCache::ResourceTypeStats* stats) const = 0;
+ // Returns the keep-alive counter if the Task is an event page, -1 otherwise.
+ virtual int GetKeepaliveCount(TaskId task_id) const = 0;
+
// Gets the list of task IDs currently tracked by the task manager. Tasks that
// share the same process id will always be consecutive. The list will be
// sorted in a way that reflects the process tree: the browser process will be
« no previous file with comments | « chrome/browser/task_manager/sampling/task_manager_impl.cc ('k') | chrome/browser/task_manager/task_manager_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698