Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Background Fetch: use permission context directly when initiating fetch.
This reduces duplicated logic between BackgroundFetchDelegateImpl and BackgroundFetchPermissionContext. It also forces the logic to align. Specifically, the permission context returned ALLOW when automatic DLs were allowed, but the implementation enforced ASK even if auto DLs are allowed. This temporarily regresses WebLayer because there's no Background Fetch permission context there, but that will be addressed soon. Bug: 1189247, 1057770 Change-Id: I5441f00835c186826927d2ef38612c8e55eb049f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2800512 Commit-Queue: Evan Stade <[email protected]> Reviewed-by: Nasko Oskov <[email protected]> Reviewed-by: Mugdha Lakhani <[email protected]> Cr-Commit-Position: refs/heads/master@{#872641}
- Loading branch information