
Migrate Chrome OS printing restriction policies to be consistent with other printing policies. Mojo fields are moved from CapabilitiesResponse to Policies in local_printer.mojom. C++ logic is moved from LocalPrinterHandlerChromeos to PrintPreviewHandler JavaScript structures are moved from Destination.Policies to NativeInitialSettings.Policies. All related logic and browser tests were also updated. Bug: b/172223138,crrev.com/1234467 Change-Id: I3665c7b4a2e68bd8d4a73d66d8bea4027939af34 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3054054 Reviewed-by: Rebekah Potter <rbpotter@chromium.org> Reviewed-by: Roland Bock <rbock@google.com> Reviewed-by: Erik Chen <erikchen@chromium.org> Reviewed-by: Chris Palmer <palmer@chromium.org> Commit-Queue: Jan Kopański <jkopanski@google.com> Cr-Commit-Position: refs/heads/master@{#907882}
//printing
contains foundational code that is used for printing. It can depend
on other low-level directories like //cc/paint
and //ui
, but not higher
level code like //components
or //content
. Higher level printing code should
live in //components/printing
or the embedder.