Extract code handling PrinterProviderAPI from PrintPreviewHandler
commit09c0a37f93d11d6aee296d5bee659ad98a213341
authortbarzic <tbarzic@chromium.org>
Thu, 12 Feb 2015 19:19:14 +0000 (12 11:19 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 12 Feb 2015 19:20:18 +0000 (12 19:20 +0000)
tree3f2f0f9d4d7fb7f15bc81b1b4ecd49c1b3c1a72f
parent37044ab2029687b331ed4c9e08c9365f09f0147e
Extract code handling PrinterProviderAPI from PrintPreviewHandler

Introduces an interface that abstracts handling requests that should be
forwarded to printer provider API from PrintPreviewHandler.
The interface implementation currently doesn't do much, just invokes
the PrinterProviderAPI, and it makes canceling callbacks to pending
requests easier. This will change when print requests are implemented.

BUG=408772

Review URL: https://codereview.chromium.org/919873002

Cr-Commit-Position: refs/heads/master@{#316017}
chrome/browser/ui/webui/print_preview/extension_printer_handler.cc [new file with mode: 0644]
chrome/browser/ui/webui/print_preview/extension_printer_handler.h [new file with mode: 0644]
chrome/browser/ui/webui/print_preview/print_preview_handler.cc
chrome/browser/ui/webui/print_preview/print_preview_handler.h
chrome/browser/ui/webui/print_preview/printer_handler.cc [new file with mode: 0644]
chrome/browser/ui/webui/print_preview/printer_handler.h [new file with mode: 0644]
chrome/chrome_browser_ui.gypi