Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Issue 337213005: [DevTools] Tracing handler keeps running even after devtools frontend has been closed. (Closed)

Created:
6 years, 6 months ago by vivekg_samsung
Modified:
6 years, 6 months ago
Reviewers:
vivekg, yurys, pfeldman
CC:
chromium-reviews, vsevik, jam, yurys, paulirish+reviews_chromium.org, darin-cc_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[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. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278681

Patch Set 1 #

Patch Set 2 : Review comments updated! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -3 lines) Patch
M content/browser/devtools/devtools_tracing_handler.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/devtools/devtools_tracing_handler.cc View 1 1 chunk +12 lines, -3 lines 0 comments Download
M content/browser/devtools/render_view_devtools_agent_host.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
vivekg
PTAL, thank you.
6 years, 6 months ago (2014-06-19 11:55:32 UTC) #1
yurys
Instead of listening to AgentState changes which we are going to remove lets introduce OnCliendDetached ...
6 years, 6 months ago (2014-06-19 14:03:04 UTC) #2
vivekg
On 2014/06/19 14:03:04, yurys wrote: > Instead of listening to AgentState changes which we are ...
6 years, 6 months ago (2014-06-19 14:06:08 UTC) #3
vivekg
Done, PTAL.
6 years, 6 months ago (2014-06-19 14:51:26 UTC) #4
yurys
LGTM. Thanks!
6 years, 6 months ago (2014-06-20 06:21:02 UTC) #5
vivekg
The CQ bit was checked by vivekg@chromium.org
6 years, 6 months ago (2014-06-20 06:21:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/337213005/20001
6 years, 6 months ago (2014-06-20 06:24:56 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_dbg_simulator on tryserver.chromium ...
6 years, 6 months ago (2014-06-20 11:10:51 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-06-20 12:04:38 UTC) #9
Message was sent while issue was closed.
Change committed as 278681

Powered by Google App Engine
This is Rietveld 408576698