| Index: chrome/browser/task_management/sampling/task_group.h
|
| diff --git a/chrome/browser/task_management/sampling/task_group.h b/chrome/browser/task_management/sampling/task_group.h
|
| index 6f882d00a27dc207dbede79b68a898a87aa73b21..c829ccf85c637598f9eaef637106d001c5c11b78 100644
|
| --- a/chrome/browser/task_management/sampling/task_group.h
|
| +++ b/chrome/browser/task_management/sampling/task_group.h
|
| @@ -54,6 +54,7 @@ class TaskGroup {
|
| int64 physical_bytes() const { return memory_usage_.physical_bytes; }
|
| int64 gpu_memory() const { return gpu_memory_; }
|
| bool gpu_memory_has_duplicates() const { return gpu_memory_has_duplicates_; }
|
| + bool is_backgrounded() const { return is_backgrounded_; }
|
|
|
| #if defined(OS_WIN)
|
| int64 gdi_current_handles() const { return gdi_current_handles_; }
|
| @@ -83,6 +84,8 @@ class TaskGroup {
|
|
|
| void OnIdleWakeupsRefreshDone(int idle_wakeups_per_second);
|
|
|
| + void OnProcessPriorityDone(bool is_backgrounded);
|
| +
|
| // The process' handle and ID.
|
| base::ProcessHandle process_handle_;
|
| base::ProcessId process_id_;
|
| @@ -109,6 +112,7 @@ class TaskGroup {
|
| #endif // !defined(DISABLE_NACL)
|
| int idle_wakeups_per_second_;
|
| bool gpu_memory_has_duplicates_;
|
| + bool is_backgrounded_;
|
|
|
| // Always keep this the last member of this class so that it's the first to be
|
| // destroyed.
|
|
|