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

Issue 2339093002: [HBD] Add Plugins permission type and PermissionContext (Closed)

Created:
4 years, 3 months ago by raymes
Modified:
4 years, 3 months ago
CC:
chrome-apps-syd-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, grt+watch_chromium.org, jam, mlamouri+watch-permissions_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[HBD] Add Plugins permission type and PermissionContext This is in preparation for the new prompt that is planned for plugins. This adds all the boilerplate needed for the new permission. BUG=641615 Committed: https://crrev.com/0314d8d374677bc03ffb708fc86bec191142d249 Cr-Commit-Position: refs/heads/master@{#419411}

Patch Set 1 #

Total comments: 6

Patch Set 2 : [HBD] Add Plugins permission type and PermissionContext #

Patch Set 3 : [HBD] Add Plugins permission type and PermissionContext #

Patch Set 4 : [HBD] Add Plugins permission type and PermissionContext #

Patch Set 5 : [HBD] Add Plugins permission type and PermissionContext #

Patch Set 6 : [HBD] Add Plugins permission type and PermissionContext #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -1 line) Patch
M android_webview/browser/aw_permission_manager.cc View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/permissions/permission_manager.cc View 1 2 3 4 5 4 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/permissions/permission_request.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/permissions/permission_request_impl.cc View 1 2 4 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/permissions/permission_uma_util.cc View 1 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/permissions/permission_util.cc View 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/plugins/plugins_permission_context.h View 1 chunk +23 lines, -0 lines 0 comments Download
A chrome/browser/plugins/plugins_permission_context.cc View 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/permission_reporter.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/common/safe_browsing/permission_report.proto View 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/browser/permission_type.h View 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (24 generated)
raymes
4 years, 3 months ago (2016-09-14 06:47:05 UTC) #2
dominickn
First pass. I think you need to add "Plugins" to histograms.xml - <histogram_suffixes name="PermissionTypes"> as ...
4 years, 3 months ago (2016-09-14 07:18:44 UTC) #3
raymes
https://codereview.chromium.org/2339093002/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2339093002/diff/1/chrome/app/generated_resources.grd#newcode7900 chrome/app/generated_resources.grd:7900: + Run Adobe Flash Player On 2016/09/14 07:18:42, dominickn ...
4 years, 3 months ago (2016-09-15 03:40:31 UTC) #4
dominickn
Looks like there's a switch on PermissionType in android_webview/browser/aw_permission_manager.cc
4 years, 3 months ago (2016-09-15 04:43:07 UTC) #13
raymes
On 2016/09/15 04:43:07, dominickn wrote: > Looks like there's a switch on PermissionType in > ...
4 years, 3 months ago (2016-09-15 05:09:57 UTC) #18
dominickn
lgtm
4 years, 3 months ago (2016-09-15 06:11:50 UTC) #23
raymes
+OWNERS jochen for content mpearson for t/m/histograms nparker for c/b/safe_browsing bauerb for c/b/plugins tobiasjs for ...
4 years, 3 months ago (2016-09-15 06:19:15 UTC) #25
Bernhard Bauer
plugins/ LGTM, but would it make sense to make the new permission type Flash straight ...
4 years, 3 months ago (2016-09-15 08:39:34 UTC) #28
Tobias Sargeant
android_webview/ LGTM
4 years, 3 months ago (2016-09-15 08:52:46 UTC) #29
jochen (gone - plz use gerrit)
content lgtm
4 years, 3 months ago (2016-09-15 09:28:36 UTC) #30
Nathan Parker
safe_browsing LGTM
4 years, 3 months ago (2016-09-15 21:31:45 UTC) #31
Mark P
histograms.xml lgtm
4 years, 3 months ago (2016-09-15 21:54:04 UTC) #32
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/2339093002/100001
4 years, 3 months ago (2016-09-16 06:36:27 UTC) #34
raymes
On 2016/09/15 08:39:34, Bernhard Bauer wrote: > plugins/ LGTM, but would it make sense to ...
4 years, 3 months ago (2016-09-16 06:38:28 UTC) #36
raymes
On 2016/09/16 06:38:28, raymes wrote: > On 2016/09/15 08:39:34, Bernhard Bauer wrote: > > plugins/ ...
4 years, 3 months ago (2016-09-19 01:27:09 UTC) #37
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/2339093002/100001
4 years, 3 months ago (2016-09-19 01:27:29 UTC) #39
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-19 02:34:09 UTC) #40
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/0314d8d374677bc03ffb708fc86bec191142d249 Cr-Commit-Position: refs/heads/master@{#419411}
4 years, 3 months ago (2016-09-19 02:36:07 UTC) #42
Bernhard Bauer
4 years, 3 months ago (2016-09-19 08:43:04 UTC) #43
Message was sent while issue was closed.
On 2016/09/19 01:27:09, raymes wrote:
> On 2016/09/16 06:38:28, raymes wrote:
> > On 2016/09/15 08:39:34, Bernhard Bauer wrote:
> > > plugins/ LGTM, but would it make sense to make the new permission type
Flash
> > > straight away?
> > 
> > Good thought - originally I was thinking that flash isn't exposed in
content/
> > but it turns out there is already a bunch of flash stuff in content/ so
maybe
> > that's better? Do you think I should rename it?
> 
> Since this is ready to go, I'm going to land it and we can rename in a
separate
> CL.

Eep, sorry. Yeah, I think renaming would be nice.

Powered by Google App Engine
This is Rietveld 408576698