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

Issue 1861383002: Add TaskManagerEndProcessEnabled policy (Closed)

Created:
4 years, 8 months ago by Marton Hunyady
Modified:
4 years, 7 months ago
CC:
chromium-reviews, tfarina, tnagel+watch_chromium.org, asvitkine+watch_chromium.org, afakhry
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add TaskManagerEndProcessEnabled policy, which enables or disables killing a process from Chromium's Task Manager. End process button in task manager is disabled when policy is set to false. If the policy is not set or set to true, killing a process is possible. BUG=590480 Committed: https://crrev.com/e7a3229d4266db4286ede951643303b1f735023c Cr-Commit-Position: refs/heads/master@{#388373}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Policy is not per-profile #

Patch Set 3 : Add test #

Patch Set 4 : Try fixing mac test crash #

Total comments: 1

Patch Set 5 : Update supported_on to 52 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -4 lines) Patch
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 2 2 chunks +28 lines, -0 lines 0 comments Download
M chrome/browser/task_manager/task_manager.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/task_manager/task_manager.cc View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/task_manager_mac.mm View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/new_task_manager_view.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/views/task_manager_view.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/pref_names.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 1 1 chunk +11 lines, -0 lines 0 comments Download
M components/policy/resources/policy_templates.json View 1 2 3 4 2 chunks +20 lines, -1 line 1 comment Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 35 (13 generated)
Andrew T Wilson (Slow)
Mostly LG, although tests are failing. Let's chat about the behavior you were seeing yesterday ...
4 years, 8 months ago (2016-04-07 08:09:29 UTC) #2
Marton Hunyady
https://codereview.chromium.org/1861383002/diff/1/components/policy/resources/policy_templates.json File components/policy/resources/policy_templates.json (right): https://codereview.chromium.org/1861383002/diff/1/components/policy/resources/policy_templates.json#newcode8472 components/policy/resources/policy_templates.json:8472: 'dynamic_refresh': False, On 2016/04/07 08:09:29, Andrew T Wilson (Slow) ...
4 years, 8 months ago (2016-04-07 11:54:32 UTC) #3
Marton Hunyady
https://codereview.chromium.org/1861383002/diff/1/components/policy/resources/policy_templates.json File components/policy/resources/policy_templates.json (right): https://codereview.chromium.org/1861383002/diff/1/components/policy/resources/policy_templates.json#newcode8472 components/policy/resources/policy_templates.json:8472: 'dynamic_refresh': False, On 2016/04/07 08:09:29, Andrew T Wilson (Slow) ...
4 years, 8 months ago (2016-04-07 11:54:32 UTC) #4
Andrew T Wilson (Slow)
lgtm https://codereview.chromium.org/1861383002/diff/60001/components/policy/resources/policy_templates.json File components/policy/resources/policy_templates.json (right): https://codereview.chromium.org/1861383002/diff/60001/components/policy/resources/policy_templates.json#newcode8470 components/policy/resources/policy_templates.json:8470: 'supported_on': ['chrome.*:51-','chrome_os:51-'], BTW, if this CL can land ...
4 years, 8 months ago (2016-04-08 15:50:27 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861383002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861383002/60001
4 years, 8 months ago (2016-04-08 17:01:40 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/166421)
4 years, 8 months ago (2016-04-08 17:12:52 UTC) #9
Marton Hunyady
isherman: PTAL at histograms.xml asvitkine: PTAL at chrome/browser/ui/cocoa/task_manager_mac.mm msw: PTAL at chrome/browser/ui/views/* nick: PTAL at ...
4 years, 8 months ago (2016-04-19 01:07:34 UTC) #11
Ilya Sherman
histograms.xml lgtm
4 years, 8 months ago (2016-04-19 01:48:30 UTC) #12
Alexei Svitkine (slow)
lgtm
4 years, 8 months ago (2016-04-19 14:41:08 UTC) #13
msw
c/b/ui/views lgtm (I posted to http://crbug.com/528486 about the two views UI impls)
4 years, 8 months ago (2016-04-19 17:40:20 UTC) #14
ncarter (slow)
lgtm
4 years, 8 months ago (2016-04-19 18:28:58 UTC) #15
ncarter (slow)
Please update the title/description to reflect that this is a behavior change, not just a ...
4 years, 8 months ago (2016-04-19 18:30:15 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861383002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861383002/80001
4 years, 8 months ago (2016-04-19 23:45:44 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-20 00:16:01 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861383002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861383002/80001
4 years, 8 months ago (2016-04-20 00:18:55 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-20 00:23:56 UTC) #26
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/e7a3229d4266db4286ede951643303b1f735023c Cr-Commit-Position: refs/heads/master@{#388373}
4 years, 8 months ago (2016-04-22 19:18:46 UTC) #28
Thiemo Nagel
https://codereview.chromium.org/1861383002/diff/80001/components/policy/resources/policy_templates.json File components/policy/resources/policy_templates.json (right): https://codereview.chromium.org/1861383002/diff/80001/components/policy/resources/policy_templates.json#newcode8463 components/policy/resources/policy_templates.json:8463: 'desc': '''Enables ending processes in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>'s Task ...
4 years, 8 months ago (2016-04-25 14:16:30 UTC) #30
scottmg
I'm getting build failure that seems related to this change on a relatively clean tree, ...
4 years, 8 months ago (2016-04-26 19:50:36 UTC) #32
scottmg
On 2016/04/26 19:50:36, scottmg wrote: > I'm getting build failure that seems related to this ...
4 years, 8 months ago (2016-04-26 19:52:56 UTC) #33
Andrew T Wilson (Slow)
On 2016/04/26 19:52:56, scottmg wrote: > On 2016/04/26 19:50:36, scottmg wrote: > > I'm getting ...
4 years, 7 months ago (2016-04-27 08:32:28 UTC) #34
brettw
4 years, 7 months ago (2016-04-27 16:33:08 UTC) #35
Message was sent while issue was closed.
I looked briefly and the build around the policy constants looks correct to me.

The error above implies that policy_constants.h isn't in sync with
policy_constants.cc. These are both generated by the same action
//components/policy:cloud_policy_code_generate so it doesn't seem obvious to me
how these could get out of sync.

Powered by Google App Engine
This is Rietveld 408576698