[Extensions Click-to-Script] Add RemoveAllGrantedHostPermissions() method
Add ScriptingPermissionsModifier::RemoveAllGrantedHostPermissions() to revoke all host permissions that were granted to an extension with the runtime host permissions feature. This includes hosts granted through the runtime host permissions feature (using ScriptingPermissionsModifier methods) and hosts granted through optional permissions using the permissions API. This will be used when adjusting extension host permissions in the chrome://extensions page. Bug: 844128 Change-Id: If45bf0024cb31946cba72e1abf06c27b3ed857b5 Reviewed-on: https://chromium-review.googlesource.com/1128381 Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Reviewed-by:Karan Bhatia <karandeepb@chromium.org> Cr-Commit-Position: refs/heads/master@{#574041}
Showing
Please register or sign in to comment