[DevTools] Tracing handler keeps running even after devtools frontend has been closed.
commit783fdc0246f105693484e8f06273b8fde002cfc0
authorvivek.vg@samsung.com <vivek.vg@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 20 Jun 2014 12:04:32 +0000 (20 12:04 +0000)
committervivek.vg@samsung.com <vivek.vg@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 20 Jun 2014 12:04:32 +0000 (20 12:04 +0000)
treec5707773dbfccf47f0f573a6476ff3aa7f29bce6
parent53add353b2d5cdd7a5bac114637777560dd642bb
[DevTools] Tracing handler keeps running even after devtools frontend has been closed.

This is happening as the tracing handler is not listening to the frontend close events.
When the front-end is closed, the tracing handler is unaware of it and it keeps collecting the data.
With the active frontend close, the tracing handler should invoke DisableRecording to stop processing further.

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

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