Index: chrome/browser/task_manager/sampling/task_group.h |
diff --git a/chrome/browser/task_manager/sampling/task_group.h b/chrome/browser/task_manager/sampling/task_group.h |
index 7768367888b9d77d600d185910b74962ae51a828..1f7e7d9d4789696c01eaa46e817ce700c97dd36a 100644 |
--- a/chrome/browser/task_manager/sampling/task_group.h |
+++ b/chrome/browser/task_manager/sampling/task_group.h |
@@ -83,6 +83,9 @@ class TaskGroup { |
int64_t per_process_network_usage() const { |
return per_process_network_usage_; |
} |
+ int64_t total_per_process_network_usage() const { |
+ return total_per_process_network_usage_; |
+ } |
bool is_backgrounded() const { return is_backgrounded_; } |
#if defined(OS_WIN) |
@@ -163,6 +166,11 @@ class TaskGroup { |
// The network usage in bytes per second as the sum of all network usages of |
// the individual tasks sharing the same process. |
int64_t per_process_network_usage_; |
+ |
+ // The total(sum) network usage in bytes per second as the sum of all |
+ // network usages of the individual tasks sharing the same process. |
+ int64_t total_per_process_network_usage_; |
+ |
#if defined(OS_WIN) |
// Windows GDI and USER Handles. |
int64_t gdi_current_handles_; |