Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3133)

Unified Diff: chrome/browser/ui/webui/print_preview/print_preview_handler.h

Issue 2919693002: Print Preview: Change getPrinters to cr.sendWithPromise (Closed)
Patch Set: Address comments Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/print_preview/print_preview_handler.h
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.h b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
index 2166080fc287a32a57108e479feaf03e7d7646aa..8cee113c8d5ebff9e0c71274c87f41fda1d2f464 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.h
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
@@ -242,7 +242,8 @@ class PrintPreviewHandler
std::unique_ptr<base::DictionaryValue> settings_info);
// Send the list of printers to the Web UI.
- void SetupPrinterList(const printing::PrinterList& printer_list);
+ void SetupPrinterList(const std::string& callback_id,
+ const printing::PrinterList& printer_list);
// Send whether cloud print integration should be enabled.
void SendCloudPrintEnabled();
« no previous file with comments | « chrome/browser/resources/print_preview/native_layer.js ('k') | chrome/browser/ui/webui/print_preview/print_preview_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698