[Sync] Use forwarding delegate for PRINTERS sync
Printers sync runs on the UI thread but so far uses a proxy delegate that posts tasks from UI thread to UI thread. This CL simplifies that and employs a forwarding delegate that runs tasks synchronously. After this CL, all data types running on the UI thread will have forwarding delegates. Bug: 867801 Change-Id: I08e261323a9caa816899dd924f09ecdee69ec936 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1621907 Commit-Queue: Jan Krcal <jkrcal@chromium.org> Auto-Submit: Jan Krcal <jkrcal@chromium.org> Reviewed-by:Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#661732}
Showing
Please register or sign in to comment