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

Issue 2653563003: Add a "Keepalive count" column to Task Manager. (Closed)

Created:
3 years, 11 months ago by Wez
Modified:
3 years, 10 months ago
Reviewers:
Devlin, ncarter (slow)
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a "Keepalive count" column to Task Manager. This column applies only to extensions' lazy event pages, displaying the number of active references to them - all other Tasks will display the N/A string. BUG=616636 Review-Url: https://codereview.chromium.org/2653563003 Cr-Commit-Position: refs/heads/master@{#447433} Committed: https://chromium.googlesource.com/chromium/src/+/87ddb9993bf9cfa284c48659ce8b7f5391408e85

Patch Set 1 #

Patch Set 2 : Restructure GetColumnIdAsString implementation macros #

Total comments: 8

Patch Set 3 : Add overload for test TaskManager #

Patch Set 4 : Add missing definition for use_titlecase builds #

Total comments: 2

Patch Set 5 : Address review comment re description #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -107 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/task_manager/providers/task.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/task_manager/providers/task.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/task_manager/providers/web_contents/extension_task.h View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/task_manager/providers/web_contents/extension_task.cc View 2 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/task_manager/sampling/task_manager_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/task_manager/sampling/task_manager_impl.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/task_manager/task_manager_interface.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/task_manager/task_manager_observer.h View 1 chunk +20 lines, -19 lines 0 comments Download
M chrome/browser/task_manager/test_task_manager.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/task_manager/test_task_manager.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/task_manager/task_manager_columns.cc View 1 2 chunks +86 lines, -86 lines 0 comments Download
M chrome/browser/ui/task_manager/task_manager_table_model.cc View 3 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (25 generated)
Wez
rdevlin.cronin: PTAL wrt exposing the lazy-event-page keepalive count to Task Manager - that OK? nick: ...
3 years, 11 months ago (2017-01-23 22:56:01 UTC) #8
Devlin
Cool! Nick's a much better reviewer here, so I'm mostly deferring to him, but excited ...
3 years, 11 months ago (2017-01-23 23:52:41 UTC) #11
Wez
https://codereview.chromium.org/2653563003/diff/20001/chrome/browser/task_manager/providers/web_contents/extension_task.cc File chrome/browser/task_manager/providers/web_contents/extension_task.cc (right): https://codereview.chromium.org/2653563003/diff/20001/chrome/browser/task_manager/providers/web_contents/extension_task.cc#newcode98 chrome/browser/task_manager/providers/web_contents/extension_task.cc:98: if (view_type_ != extensions::VIEW_TYPE_EXTENSION_BACKGROUND_PAGE) On 2017/01/23 23:52:36, Devlin (catching ...
3 years, 11 months ago (2017-01-23 23:59:54 UTC) #12
Wez
nick: Ping
3 years, 10 months ago (2017-01-25 00:51:52 UTC) #18
Wez
nick: Ping!
3 years, 10 months ago (2017-01-26 22:13:53 UTC) #23
Wez
Pingaling. :)
3 years, 10 months ago (2017-01-30 18:52:32 UTC) #27
ncarter (slow)
lgtm with one nit https://codereview.chromium.org/2653563003/diff/60001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2653563003/diff/60001/chrome/app/generated_resources.grd#newcode3477 chrome/app/generated_resources.grd:3477: + <message name="IDS_TASK_MANAGER_KEEPALIVE_COUNT_COLUMN" desc="Task manager ...
3 years, 10 months ago (2017-01-31 19:56:45 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2653563003/80001
3 years, 10 months ago (2017-02-01 01:35:15 UTC) #31
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/src/+/87ddb9993bf9cfa284c48659ce8b7f5391408e85
3 years, 10 months ago (2017-02-01 02:59:25 UTC) #34
Wez
3 years, 10 months ago (2017-02-01 03:03:26 UTC) #35
Message was sent while issue was closed.
https://codereview.chromium.org/2653563003/diff/60001/chrome/app/generated_re...
File chrome/app/generated_resources.grd (right):

https://codereview.chromium.org/2653563003/diff/60001/chrome/app/generated_re...
chrome/app/generated_resources.grd:3477: +          <message
name="IDS_TASK_MANAGER_KEEPALIVE_COUNT_COLUMN" desc="Task manager keepalive
count column.  Shows the keepalive count of background pages">
On 2017/01/31 19:56:45, ncarter wrote:
> These should go into a little more depth since the keep-alive count is
> crx-specific technical jargon; translation team members have filed bugs
against
> us before, if we aren't sufficiently specific in these descriptions.
> 
> Maybe:
> 
> Label for the "keep-alive count" column in the task manager. Relevant only for
> chrome extension processes, this column shows a count of the activities that
are
> keeping the background page for a particular chrome extension alive."
> 

Thanks - good catch. Have updated the wording for the two instances.

Powered by Google App Engine
This is Rietveld 408576698