[FS] Go through file system abstraction for truncating files.
The save file dialog needs to truncate any files that are opened. Before this was using base::File directly. This CL routes truncating through the file system backends to facilitate supporting non-local files. Bug: 1093653 Change-Id: I51c2cf8a776de70375e57be7a8a5d02641226bfa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2392414 Commit-Queue: Marijn Kruisselbrink <mek@chromium.org> Reviewed-by:Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#805501}
Showing
Please register or sign in to comment