[zip] Move progress callback in ZipReader
Pass the ProgressCallback by value to ZipReader's ExtractCurrentEntryToFilePathAsync() and ExtractChunk() and move it. This is an optimization. BUG=chromium:1295127 TEST=autoninja -C out/Default zlib_unittests && out/Default/zlib_unittests Change-Id: I3214c0ea9d897dc53a1999b92b364f9673120edc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3478940 Reviewed-by: Noel Gordon <noel@chromium.org> Commit-Queue: François Degros <fdegros@chromium.org> Cr-Commit-Position: refs/heads/main@{#973640} NOKEYCHECK=True GitOrigin-RevId: b6044c6f242889d31da099d7a6413dd41b1b793b
Loading
Please register or sign in to comment