scanning: Capture scan success status during PDF save
Currently when a scan completes a PDF is created without checking if the scan was successful. This change checks to see if scan fails before attempting to create the PDF. Also |save_failed_| will be set when the PDF creation fails. Bug: 1059779 Change-Id: I84bf426e33da6840c13cce3195bfaa111ff7c6dc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2612053Reviewed-by:Jesse Schettler <jschettler@chromium.org> Commit-Queue: Gavin Williams <gavinwill@chromium.org> Cr-Commit-Position: refs/heads/master@{#841128}
Showing
Please register or sign in to comment