New Task Manager - Phases 2.1, 2.2, and 2.4
commit6ee30bac9cd9048e246dbc85d77eebec326166cb
authorafakhry <afakhry@chromium.org>
Thu, 16 Jul 2015 23:00:52 +0000 (16 16:00 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 16 Jul 2015 23:02:19 +0000 (16 23:02 +0000)
tree97485457a6d11ffbd825169bb02240c8e4d52502
parent7f52183a345d36b4abf7967ec47ad35b507d740c
New Task Manager - Phases 2.1, 2.2, and 2.4
Implement TaskGroup, TaskGroupSampler and TaskManagerImpl

TaskGroup to group task manager tracked tasks that belong to the same process. TaskGroupSampler performs the expensive resource calculations on the worker thread. TaskManagerImpl is the concrete implementation of the task manager interface.

R=nick@chromium.org
BUG=470996, 470997, 471004
TEST=

Review URL: https://codereview.chromium.org/1231643003

Cr-Commit-Position: refs/heads/master@{#339155}
17 files changed:
chrome/browser/task_management/providers/browser_process_task.cc
chrome/browser/task_management/providers/browser_process_task.h
chrome/browser/task_management/providers/browser_process_task_unittest.cc
chrome/browser/task_management/providers/child_process_task_unittest.cc
chrome/browser/task_management/providers/task.cc
chrome/browser/task_management/providers/task.h
chrome/browser/task_management/providers/web_contents/renderer_task.cc
chrome/browser/task_management/providers/web_contents/renderer_task.h
chrome/browser/task_management/sampling/task_group.cc [new file with mode: 0644]
chrome/browser/task_management/sampling/task_group.h [new file with mode: 0644]
chrome/browser/task_management/sampling/task_group_sampler.cc [new file with mode: 0644]
chrome/browser/task_management/sampling/task_group_sampler.h [new file with mode: 0644]
chrome/browser/task_management/sampling/task_manager_impl.cc [new file with mode: 0644]
chrome/browser/task_management/sampling/task_manager_impl.h [new file with mode: 0644]
chrome/browser/task_management/task_manager_interface.h
chrome/browser/task_management/task_manager_observer_unittest.cc
chrome/chrome_browser.gypi