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

Issue 2655633002: [task_manager] Add ARC process whitelist. (Closed)

Created:
3 years, 11 months ago by Eliot Courtney
Modified:
3 years, 10 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, yusukes+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[task_manager] Add ARC process whitelist. Filter which Android processes we display in the task manager by an explicit whitelist and based on ProcessState. BUG=654564 Review-Url: https://codereview.chromium.org/2655633002 Cr-Commit-Position: refs/heads/master@{#448580} Committed: https://chromium.googlesource.com/chromium/src/+/13452f1a1149352dc13b53027bbceac54ed217e6

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments. #

Total comments: 6

Patch Set 3 : Address comments. #

Total comments: 2

Patch Set 4 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -0 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/task_manager/providers/arc/arc_process_filter.h View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
A chrome/browser/task_manager/providers/arc/arc_process_filter.cc View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download
A chrome/browser/task_manager/providers/arc/arc_process_filter_unittest.cc View 1 1 chunk +55 lines, -0 lines 0 comments Download
M chrome/browser/task_manager/providers/arc/arc_process_task_provider.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/task_manager/providers/arc/arc_process_task_provider.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 33 (19 generated)
Eliot Courtney
As discussed in the bug, I had a go at implementing a whitelist for system ...
3 years, 11 months ago (2017-01-24 07:14:02 UTC) #4
Luis Héctor Chávez
drive-by https://codereview.chromium.org/2655633002/diff/1/chrome/browser/task_manager/providers/arc/arc_process_task_provider.cc File chrome/browser/task_manager/providers/arc/arc_process_task_provider.cc (right): https://codereview.chromium.org/2655633002/diff/1/chrome/browser/task_manager/providers/arc/arc_process_task_provider.cc#newcode64 chrome/browser/task_manager/providers/arc/arc_process_task_provider.cc:64: if (!whitelist_.ShouldDisplayProcess(entry)) this does not look very whitelist-y ...
3 years, 11 months ago (2017-01-24 17:09:42 UTC) #8
Eliot Courtney
Thanks for the comments. https://codereview.chromium.org/2655633002/diff/1/chrome/browser/task_manager/providers/arc/arc_process_task_provider.cc File chrome/browser/task_manager/providers/arc/arc_process_task_provider.cc (right): https://codereview.chromium.org/2655633002/diff/1/chrome/browser/task_manager/providers/arc/arc_process_task_provider.cc#newcode64 chrome/browser/task_manager/providers/arc/arc_process_task_provider.cc:64: if (!whitelist_.ShouldDisplayProcess(entry)) On 2017/01/24 17:09:41, ...
3 years, 11 months ago (2017-01-25 02:08:12 UTC) #9
Luis Héctor Chávez
few more nits, but lgtm. </drive-by> https://codereview.chromium.org/2655633002/diff/20001/chrome/browser/task_manager/providers/arc/arc_process_filter.h File chrome/browser/task_manager/providers/arc/arc_process_filter.h (right): https://codereview.chromium.org/2655633002/diff/20001/chrome/browser/task_manager/providers/arc/arc_process_filter.h#newcode23 chrome/browser/task_manager/providers/arc/arc_process_filter.h:23: explicit ArcProcessFilter(std::set<std::string>&& whitelist); ...
3 years, 10 months ago (2017-01-26 17:55:13 UTC) #10
Eliot Courtney
https://codereview.chromium.org/2655633002/diff/20001/chrome/browser/task_manager/providers/arc/arc_process_filter.h File chrome/browser/task_manager/providers/arc/arc_process_filter.h (right): https://codereview.chromium.org/2655633002/diff/20001/chrome/browser/task_manager/providers/arc/arc_process_filter.h#newcode23 chrome/browser/task_manager/providers/arc/arc_process_filter.h:23: explicit ArcProcessFilter(std::set<std::string>&& whitelist); On 2017/01/26 17:55:13, Luis Héctor Chávez ...
3 years, 10 months ago (2017-01-30 07:48:54 UTC) #11
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/2655633002/40001
3 years, 10 months ago (2017-01-30 08:55:14 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/353044)
3 years, 10 months ago (2017-01-30 09:01:55 UTC) #20
Eliot Courtney
Hi Nick, could you review for owners please? Thanks~!
3 years, 10 months ago (2017-01-30 09:04:54 UTC) #21
ncarter (slow)
very clean; lgtm -- sorry for the delay in reviewing this https://codereview.chromium.org/2655633002/diff/40001/chrome/browser/task_manager/providers/arc/arc_process_filter.cc File chrome/browser/task_manager/providers/arc/arc_process_filter.cc (right): ...
3 years, 10 months ago (2017-02-01 17:32:58 UTC) #22
Eliot Courtney
Think I got a rebase caught up in this patch set. I only changed arc_process_filter.c. ...
3 years, 10 months ago (2017-02-02 03:46:31 UTC) #23
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/2655633002/60001
3 years, 10 months ago (2017-02-07 06:11:39 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/148543) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-07 06:13:51 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/2655633002/60001
3 years, 10 months ago (2017-02-07 07:44:23 UTC) #30
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 10:11:48 UTC) #33
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/13452f1a1149352dc13b53027bbc...

Powered by Google App Engine
This is Rietveld 408576698