Add a pref to blacklist certain printer types in print preview
Printer types that can be blacklisted include privet, PDF, local, extension, and cloud printers. If a certain printer type is on the blacklist, calls of 'getPrinters' for that type would immediately resolve without dispatching any Web UI events. Calls of 'getPrinterCapabilities' for a blacklisted printer type would be rejected. Because cloud printers are fetched separately, if cloud printers are on the blacklist, the pref will have the same effect as setting the "CloudPrintSubmitEnabled" policy to false. This is the first CL to implement a policy disabling certain printer types. A future CL will add the policy configurations. Bug: 487875 Change-Id: I3bd4e1d3d3ecae3c2a6c379f3b3ae009b2c4921c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1881844 Commit-Queue: Daniel Hosseinian <dhoss@chromium.org> Reviewed-by:Rebekah Potter <rbpotter@chromium.org> Cr-Commit-Position: refs/heads/master@{#712342}
Showing
Please register or sign in to comment