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

Issue 1234023002: blink: permissions: add plumbing to revoke permissions (Closed)

Created:
5 years, 5 months ago by Lalit Maganti
Modified:
5 years, 5 months ago
CC:
blink-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

blink: permissions: add plumbing to revoke permissions Add plumbing code in Blink to allow revocation of permissions. NOTE: this is a part of a three sided patch: https://codereview.chromium.org/1234023002 (this) https://codereview.chromium.org/1238673002 https://codereview.chromium.org/1241133002 BUG=510405 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199226

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Remove unrelated change #

Patch Set 4 : Rebase on latest #

Patch Set 5 : Various changes and adding more tests #

Patch Set 6 : Add missing files #

Patch Set 7 : Add Runtime flag for permissions #

Total comments: 13

Patch Set 8 : Add proper tests and fix Mounir's comments #

Total comments: 2

Patch Set 9 : Remove tests #

Patch Set 10 : Fix Mounir's comments #

Patch Set 11 : Fix compile #

Patch Set 12 : Fix failing webexposed tests #

Patch Set 13 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -126 lines) Patch
M LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/webexposed/global-interface-listing-dedicated-worker-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/frame/UseCounter.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
A + Source/modules/permissions/PermissionCallback.h View 1 2 3 4 5 6 7 3 chunks +8 lines, -8 lines 0 comments Download
A + Source/modules/permissions/PermissionCallback.cpp View 2 chunks +5 lines, -5 lines 0 comments Download
D Source/modules/permissions/PermissionQueryCallback.h View 1 chunk +0 lines, -42 lines 0 comments Download
D Source/modules/permissions/PermissionQueryCallback.cpp View 1 chunk +0 lines, -41 lines 0 comments Download
M Source/modules/permissions/Permissions.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/permissions/Permissions.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +74 lines, -27 lines 0 comments Download
M Source/modules/permissions/Permissions.idl View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M public/platform/modules/permissions/WebPermissionClient.h View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (7 generated)
Lalit Maganti
5 years, 5 months ago (2015-07-16 08:33:12 UTC) #2
mlamouri (slow - plz ping)
Given that you are still working on the tests I have not looked at them ...
5 years, 5 months ago (2015-07-17 13:16:18 UTC) #3
mlamouri (slow - plz ping)
https://codereview.chromium.org/1234023002/diff/110001/public/platform/modules/permissions/WebPermissionClient.h File public/platform/modules/permissions/WebPermissionClient.h (right): https://codereview.chromium.org/1234023002/diff/110001/public/platform/modules/permissions/WebPermissionClient.h#newcode14 public/platform/modules/permissions/WebPermissionClient.h:14: using WebPermissionCallback = WebCallbacks<WebPermissionStatus, void>; I think this change ...
5 years, 5 months ago (2015-07-17 13:18:04 UTC) #4
Lalit Maganti
Mounir: please see my remarks on your comments as well as my Javascript in the ...
5 years, 5 months ago (2015-07-17 13:47:35 UTC) #5
mlamouri (slow - plz ping)
lgtm with the tests moved to the third CL and the comments applied. https://codereview.chromium.org/1234023002/diff/110001/Source/modules/permissions/PermissionCallback.h File ...
5 years, 5 months ago (2015-07-20 14:14:12 UTC) #6
Lalit Maganti
mkwst@: could you please review the UseCounter and RuntimeEnabledFeatures?
5 years, 5 months ago (2015-07-21 09:32:33 UTC) #8
Mike West
On 2015/07/21 at 09:32:33, lalitm wrote: > mkwst@: could you please review the UseCounter and ...
5 years, 5 months ago (2015-07-21 09:53:07 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234023002/210001
5 years, 5 months ago (2015-07-21 13:09:24 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/51114) mac_blink_rel on tryserver.blink (JOB_FAILED, ...
5 years, 5 months ago (2015-07-21 13:11:59 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234023002/230001
5 years, 5 months ago (2015-07-21 13:14:45 UTC) #17
commit-bot: I haz the power
5 years, 5 months ago (2015-07-21 15:13:01 UTC) #18
Message was sent while issue was closed.
Committed patchset #13 (id:230001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=199226

Powered by Google App Engine
This is Rietveld 408576698