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

Unified Diff: chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h

Issue 2915703002: Query printers for autoconf info during setup. (Closed)
Patch Set: update javascript structures 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/settings/chromeos/cups_printers_handler.h
diff --git a/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h b/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h
index 343daeab6df52da9281b36ef9ab50c3ea5e6479e..8abeecb5d0440126febb63e2699e73a770cf3ae6 100644
--- a/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h
+++ b/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h
@@ -49,6 +49,8 @@ class CupsPrintersHandler : public ::settings::SettingsPageUIHandler,
void HandleUpdateCupsPrinter(const base::ListValue* args);
void HandleRemoveCupsPrinter(const base::ListValue* args);
+ void HandleGetPrinterInfo(const base::ListValue* args);
Carlson 2017/05/31 16:58:52 Function comment
skau 2017/06/01 21:50:29 Done.
+
void HandleAddCupsPrinter(const base::ListValue* args);
void OnAddedPrinter(std::unique_ptr<Printer> printer,
chromeos::PrinterSetupResult result);
@@ -99,6 +101,12 @@ class CupsPrintersHandler : public ::settings::SettingsPageUIHandler,
const base::FilePath& ppd_path,
bool ipp_everywhere);
+ void OnPrinterInfo(const std::string& callback_id,
Carlson 2017/05/31 16:58:52 Function comment please. When is this called, wha
skau 2017/06/01 21:50:29 Done.
+ bool success,
+ const std::string& make,
+ const std::string& model,
+ bool ipp_everywhere);
+
std::unique_ptr<chromeos::PrinterDiscoverer> printer_discoverer_;
scoped_refptr<chromeos::printing::PpdProvider> ppd_provider_;
std::unique_ptr<chromeos::PrinterConfigurer> printer_configurer_;

Powered by Google App Engine
This is Rietveld 408576698