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

Issue 341853002: [PowerProfiler] Power profiler service 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, tonyg, sky, 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, apavlov
Base URL:
https://chromium.googlesource.com/chromium/src.git@power-profiler-devtools-crash-fix
Project:
chromium
Visibility:
Public.

Description

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

Patch Set 1 #

Total comments: 1

Patch Set 2 : Patch for landing! #

Patch Set 3 : Patch for landing! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M content/browser/devtools/devtools_power_handler.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/devtools/devtools_power_handler.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/devtools/render_view_devtools_agent_host.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
vivekg
PTAL, thank you.
6 years, 6 months ago (2014-06-18 15:10:06 UTC) #1
yurys
lgtm https://codereview.chromium.org/341853002/diff/1/content/browser/devtools/devtools_power_handler.h File content/browser/devtools/devtools_power_handler.h (right): https://codereview.chromium.org/341853002/diff/1/content/browser/devtools/devtools_power_handler.h#newcode21 content/browser/devtools/devtools_power_handler.h:21: DevToolsPowerHandler(DevToolsAgentHost*); should be explicit
6 years, 6 months ago (2014-06-18 15:20:59 UTC) #2
vivekg
The CQ bit was checked by vivekg@chromium.org
6 years, 6 months ago (2014-06-18 15:54:34 UTC) #3
vivekg
On 2014/06/18 15:20:59, yurys wrote: > lgtm > > https://codereview.chromium.org/341853002/diff/1/content/browser/devtools/devtools_power_handler.h > File content/browser/devtools/devtools_power_handler.h (right): > ...
6 years, 6 months ago (2014-06-18 15:54:52 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/341853002/20001
6 years, 6 months ago (2014-06-18 15:55:22 UTC) #5
vivekg
The CQ bit was unchecked by vivekg@chromium.org
6 years, 6 months ago (2014-06-18 16:20:36 UTC) #6
vivekg
This patch has dependency on https://codereview.chromium.org/332623003/ to be landed first.
6 years, 6 months ago (2014-06-18 16:20:59 UTC) #7
yurys
After reviewing https://codereview.chromium.org/337213005/ I realized that instead of listening to AgentState changes which we are ...
6 years, 6 months ago (2014-06-19 14:07:03 UTC) #8
vivekg
On 2014/06/19 14:07:03, yurys wrote: > After reviewing https://codereview.chromium.org/337213005/ I realized that > instead of ...
6 years, 6 months ago (2014-06-23 06:03:26 UTC) #9
yurys
Patch set #3 - lgtm
6 years, 6 months ago (2014-06-23 07:08:48 UTC) #10
vivekg
The CQ bit was checked by vivekg@chromium.org
6 years, 6 months ago (2014-06-23 07:37:26 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/341853002/40001
6 years, 6 months ago (2014-06-23 07:38:10 UTC) #12
commit-bot: I haz the power
6 years, 6 months ago (2014-06-23 09:43:27 UTC) #13
Message was sent while issue was closed.
Change committed as 279068

Powered by Google App Engine
This is Rietveld 408576698