Make Permissions a Supplement<NavigatorBase>
NavigatorBase is a newly-added base class for Navigator and WorkerNavigator. Making Permissions a Supplement of NavigatorBase allows a single class to handle all of the work of exposing the navigator.permissions getter for both windows and workers, and greatly reduces boilerplate. Bug: 1147612 Change-Id: I45b857df7864ba50f38ebebd2afe358ae759914a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2538056 Commit-Queue: Mounir Lamouri <mlamouri@chromium.org> Auto-Submit: Nate Chapin <japhet@chromium.org> Reviewed-by:Mounir Lamouri <mlamouri@chromium.org> Cr-Commit-Position: refs/heads/master@{#828015}
Showing
Please register or sign in to comment