[NativeFS] Refactor permission request dialog for new permission model.
This changes NativeFileSystemPermissionView to not only support asking for write access, but to also support asking for read access (as well as asking for read and write access at the same time). Also changes the origin scoped permission model to go through this new code path when asking for read access. This does not hook anything up yet to ask for read and write access at the same time (that will still DCHECK in the content layer), dealing with that case will be handled in a follow-up CL. Bug: 984769 Change-Id: I5fc276b11802e105379ae42e0f6abf84f2c7d81f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2091920Reviewed-by:Olivier Yiptong <oyiptong@chromium.org> Commit-Queue: Marijn Kruisselbrink <mek@chromium.org> Cr-Commit-Position: refs/heads/master@{#747954}
Showing
Please register or sign in to comment