Clean up mini_installer's implementation of Expand.
This CL includes: - Some gentle style updates. - Explicit extraction of only one file. - Use of SetFileInformationByHandle to set the creation time and attributes of the output file before closing it rather than use of SetFileTime and SetFileAttributes after the fact. This avoids potential filesystem races. - Removal of some dead code. BUG=None Change-Id: Iaa27f6951a96fc5cec55fa9b0cd8505f48f2515e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2303710 Commit-Queue: Greg Thompson <grt@chromium.org> Auto-Submit: Greg Thompson <grt@chromium.org> Reviewed-by:Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#789255}
Showing
Please register or sign in to comment