Use ReadOnlyFile in archive analyzer
The output or temp files do need to be writeable, but the input files do not, e.g. https://source.chromium.org/chromium/chromium/src/+/master:chrome/services/file_util/public/cpp/sandboxed_zip_analyzer.cc;l=45;bpv=1;bpt=1 Bug: 1130762 Change-Id: I22773721de3ec35c920e45f3a1ec29e4a31d32dd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2486458Reviewed-by:Nathan Parker <nparker@chromium.org> Commit-Queue: Alex Gough <ajgo@chromium.org> Cr-Commit-Position: refs/heads/master@{#819946}
Showing
Please register or sign in to comment