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

Unified Diff: chrome/browser/task_manager/providers/task.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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/task_manager/providers/task.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/task_manager/providers/task.h
diff --git a/chrome/browser/task_manager/providers/task.h b/chrome/browser/task_manager/providers/task.h
index 0c04857e9846969a495f6cbfe7ba011115bbd941..d112d38f8ddd31d5bf580d1965d977a544302e5b 100644
--- a/chrome/browser/task_manager/providers/task.h
+++ b/chrome/browser/task_manager/providers/task.h
@@ -135,6 +135,9 @@ class Task {
virtual bool ReportsWebCacheStats() const;
virtual blink::WebCache::ResourceTypeStats GetWebCacheStats() const;
+ // Returns the keep-alive counter if the Task is an event page, -1 otherwise.
+ virtual int GetKeepaliveCount() const;
+
// Checking whether the task reports network usage.
bool ReportsNetworkUsage() const;
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/task_manager/providers/task.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698