Extensions: Add ability to check host permissions for initiator as well.
This CL adds the ability to check for host permission access to both the request url and its initiator. WebRequestPermissions::REQUIRE_HOST_PERMISSION is renamed to WebRequestPermissions::REQUIRE_HOST_PERMISSION_FOR_URL and WebRequestPermissions::REQUIRE_HOST_PERMISSION_FOR_URL_AND_INITIATOR is introduced. This will subsequently be used to check access for the Declarative Net Request API. BUG=777714, 696822 Change-Id: I8ec9b08be1e8eb240e28328b7c254055e63005f3 Reviewed-on: https://chromium-review.googlesource.com/905405 Commit-Queue: Karan Bhatia <karandeepb@chromium.org> Reviewed-by:Istiaque Ahmed <lazyboy@chromium.org> Cr-Commit-Position: refs/heads/master@{#534924}
Showing
Please register or sign in to comment