[Background Sync] Allow when enabled from runtime.
Allow 'periodic-background-sync' when the runtime feature is enabled. We currently deny 'periodic-background-sync' permission if the base::Feature kPeriodicBackgroundSync is disabled. Since the permission can't be parsed at all if the runtime feature is disabled, this check is unnecessary. Furthermore, this check prevents users with origin trials enabled from using the feature. Bug: 991145 Change-Id: Icf88c854ecb39d22d1878556a4c5a5b17350e321 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1738370 Commit-Queue: Mugdha Lakhani <nator@chromium.org> Reviewed-by:Rayan Kanso <rayankans@chromium.org> Cr-Commit-Position: refs/heads/master@{#684292}
Showing
Please register or sign in to comment