[PowerProfiler] Power profiler service keeps running even after devtools frontend...
commitfeee6df0c48f10587c447ee978fc05fa369f3e28
authorvivek.vg@samsung.com <vivek.vg@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 23 Jun 2014 09:43:25 +0000 (23 09:43 +0000)
committervivek.vg@samsung.com <vivek.vg@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 23 Jun 2014 09:43:25 +0000 (23 09:43 +0000)
tree706898c907b3cc05ae22de6067f88be60b7174ea
parent750e9f09b70d8e3c0d7a49979b197c1679af9908
[PowerProfiler] Power profiler service keeps running even after devtools frontend has been closed.

This is happening as the power handler is not listening to the frontend close events. When the front-end is closed, the service is unaware of this and it keeps collecting the data. With the active frontend close, the devtools power handler should unregister itself with the service.

BUG=386175

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279068 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/devtools/devtools_power_handler.cc
content/browser/devtools/devtools_power_handler.h
content/browser/devtools/render_view_devtools_agent_host.cc