OOR-CORS: support DefaultPolicyHostRestrictions updates
PermissionsUpdater::SetDefaultPolicyHostRestrictions needs to update cors access lists as well as other permission updating methods do. This patch extends NetworkPermissionsUpdateHelper to support the default policy host restrictions case in addition to permissions update. This makes following tests pass with OOR-CORS. - BackgroundXhrWebstoreTest.PolicyContentScriptXHR - BackgroundXhrWebstoreTest.PolicyUpdateXHR - BackgroundXhrWebstoreTest.PolicyUpdateIndividualXHR - BackgroundXhrWebstoreTest.PolicyUpdateDefaultXHR Bug: 907428 Change-Id: I0ae7777bd87baa1c98dfbefba44b9911eb9c08f8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1478661Reviewed-by:Devlin <rdevlin.cronin@chromium.org> Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org> Cr-Commit-Position: refs/heads/master@{#637600}
Showing
Please register or sign in to comment