Fetch printer type based on destination
Using getPrinterTypeForDestination to always get the correct printer type allows us to remove the standalone PDF check in NativeLayer.getPrinterCapabilities. It is safe to use Destination and RecentDestination as arguments to getPrinterTypeForDestination because objects have |id| and |origin|. Bug: 1112416 Change-Id: Ic94d1834485fab72c941cfc914701c26b58752c8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2376383Reviewed-by:Rebekah Potter <rbpotter@chromium.org> Commit-Queue: Gavin Williams <gavinwill@chromium.org> Cr-Commit-Position: refs/heads/master@{#801934}
Showing
Please register or sign in to comment