[FS] Pass PathType to ConfirmSensitiveDirectoryAccess.
External paths aren't absolute paths, and thus need to be treated differently. Actually blocking paths (like the root of the Downloads directory) seems to have been broken already, so for now this just allows all external paths. We should add special chrome-os logic to block what we do want to block in a follow-up. Bug: 1009970, 1134029 Change-Id: I8e5e437698b619d9df643706119c8b3492f58476 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2442901Reviewed-by:Avi Drissman <avi@chromium.org> Reviewed-by:
Victor Costan <pwnall@chromium.org> Commit-Queue: Marijn Kruisselbrink <mek@chromium.org> Cr-Commit-Position: refs/heads/master@{#820277}
Showing
Please register or sign in to comment