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

Issue 2799883004: Permissions: Customize permission decision strings to ask/allow/block settings. (Closed)

Created:
3 years, 8 months ago by Patti Lor
Modified:
3 years, 8 months ago
Reviewers:
dominickn, lgarron, Nico
CC:
chrome-apps-syd-reviews_chromium.org, chromium-reviews, lgarron+watch_chromium.org, raymes+watch_chromium.org, srahim+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Permissions: Customize permission decision strings to ask/allow/block settings. Follow up to r461944, which added permission decision strings for permission decisions made by enterprise policy, extensions, or embargo. This change adds custom permission decision strings clearer for each 'Ask'/'Allow'/'Block' setting where previously, there was only one string for each setting source (i.e., policy, extension, embargo). See https://docs.google.com/document/d/1TaoszQOgqhoxZkV1zAHDapam-LIOxGBIUfqU6npoPWs/edit?usp=sharing for the relevant document and screenshots. BUG=679877 Review-Url: https://codereview.chromium.org/2799883004 Cr-Commit-Position: refs/heads/master@{#465489} Committed: https://chromium.googlesource.com/chromium/src/+/b7c5f428d57f3cc842a5838f2da34c05436bb244

Patch Set 1 #

Patch Set 2 : Give components_strings.grd more resource ids. #

Total comments: 2

Patch Set 3 : Update string descriptions. #

Total comments: 6

Patch Set 4 : Add back ASK_BY_EXTENSION strings to the code. #

Patch Set 5 : Revert updates to resource_ids. #

Patch Set 6 : Update resource_ids to add 100 starting from 15930. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -32 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/ui/page_info/page_info_ui.cc View 1 2 3 4 chunks +61 lines, -21 lines 0 comments Download
M components/page_info_strings.grdp View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
M tools/gritsettings/resource_ids View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 48 (35 generated)
Patti Lor
Hey Dom, PTAL? I updated the screenshots in the doc linked in the description, and ...
3 years, 8 months ago (2017-04-07 06:45:50 UTC) #9
lgarron
https://codereview.chromium.org/2799883004/diff/20001/components/page_info_strings.grdp File components/page_info_strings.grdp (right): https://codereview.chromium.org/2799883004/diff/20001/components/page_info_strings.grdp#newcode116 components/page_info_strings.grdp:116: <message name="IDS_PAGE_INFO_PERMISSION_ALLOWED_BY_POLICY" desc="The label used underneath a permission listed ...
3 years, 8 months ago (2017-04-07 21:05:49 UTC) #13
Patti Lor
https://codereview.chromium.org/2799883004/diff/20001/components/page_info_strings.grdp File components/page_info_strings.grdp (right): https://codereview.chromium.org/2799883004/diff/20001/components/page_info_strings.grdp#newcode116 components/page_info_strings.grdp:116: <message name="IDS_PAGE_INFO_PERMISSION_ALLOWED_BY_POLICY" desc="The label used underneath a permission listed ...
3 years, 8 months ago (2017-04-10 00:59:42 UTC) #16
dominickn
non-OWNER lgtm. Thanks Patti!
3 years, 8 months ago (2017-04-10 01:33:28 UTC) #17
lgarron
It seems I accidentally added myself as a reviewer; did you want me to review ...
3 years, 8 months ago (2017-04-10 19:22:14 UTC) #20
Patti Lor
Oops, sorry - yes, lgarron@ please review! Also +thakis, PTAL for owner's review on tools/gritsettings/resource_ids. ...
3 years, 8 months ago (2017-04-11 05:00:29 UTC) #21
Patti Lor
Actually +thakis, PTAL for tools/gritsettings/resource_ids. Thanks!
3 years, 8 months ago (2017-04-11 05:01:53 UTC) #23
Nico
lgtm, sorry about the delay.
3 years, 8 months ago (2017-04-13 16:27:59 UTC) #24
lgarron
LGT, but make sure to add "ask" for extensions. https://codereview.chromium.org/2799883004/diff/40001/chrome/browser/ui/page_info/page_info_ui.cc File chrome/browser/ui/page_info/page_info_ui.cc (right): https://codereview.chromium.org/2799883004/diff/40001/chrome/browser/ui/page_info/page_info_ui.cc#newcode35 chrome/browser/ui/page_info/page_info_ui.cc:35: ...
3 years, 8 months ago (2017-04-18 06:40:00 UTC) #25
lgarron
lgtm
3 years, 8 months ago (2017-04-18 06:40:10 UTC) #26
Patti Lor
Thanks for the reviews Nico and Lucas! https://codereview.chromium.org/2799883004/diff/40001/chrome/browser/ui/page_info/page_info_ui.cc File chrome/browser/ui/page_info/page_info_ui.cc (right): https://codereview.chromium.org/2799883004/diff/40001/chrome/browser/ui/page_info/page_info_ui.cc#newcode35 chrome/browser/ui/page_info/page_info_ui.cc:35: IDS_PAGE_INFO_PERMISSION_ASK_BY_POLICY, On ...
3 years, 8 months ago (2017-04-19 04:16:31 UTC) #42
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/2799883004/120001
3 years, 8 months ago (2017-04-19 04:18:01 UTC) #45
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 04:22:23 UTC) #48
Message was sent while issue was closed.
Committed patchset #6 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/b7c5f428d57f3cc842a5838f2da3...

Powered by Google App Engine
This is Rietveld 408576698