Print Preview: Prefetch recent printers
Restore the recent printer prefetching behavior that was removed in https://chromium-review.googlesource.com/c/chromium/src/+/1607133 : don't display printers in the dropdown until their capabilities have successfully been retrieved from the backend. Also adds a test to verify that if a recent printer's capabilities are not fetched successfully, the printer does not appear in the dropdown. Note that printers will still be cached in the recent destinations until the user selects new recent printers that override them, but will not be displayed unless they are actually available. This so that if a frequently used printer is temporarily unavailable, it will still re-appear in the dropdown in future Print Preview sessions when it becomes available again. Bug: 1007614 Change-Id: Ia7eca78631094ca29bb1e9b43998fe8a6d35966e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1966585Reviewed-by:Lei Zhang <thestig@chromium.org> Reviewed-by:
Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Cr-Commit-Position: refs/heads/master@{#726079}
Showing
This diff is collapsed.
Please register or sign in to comment