imageWriterPrivate: Add ExtractionProperties
In order to support other compression formats in imageWriterPrivate, UnzipHelper is renamed to ZipExtractor and its arguments are split into ExtractionProperties, so that other extractor classes can easily take the same set of arguments. Also this CL simplifies the lifecycle of the class by managing it on its own. This refactoring is described in "Adding multiple compression format supports" section of the design doc. Design doc: http://go/tar-xz-cros-recovery TEST=manually verified that zip file flashing and normal file flashing are working in Recovery Utility TEST=ImageWriterOperationTest BUG=b:153027505 Change-Id: I505bd426b163500926d0acae5947f6c3f0531758 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2573963 Commit-Queue: Tetsui Ohkubo <tetsui@chromium.org> Reviewed-by:Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#843494}
Showing
Please register or sign in to comment