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

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

Issue 2545663002: Hookup the PpdProvider in the printer setup flow. (Closed)
Patch Set: Created 4 years 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 b959644da24312905d2c88e1580972f2667b67bd..3d6f1e9d85f2a9d1d4d288ea2abcfc7544adb800 100644
--- a/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h
+++ b/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.h
@@ -88,6 +88,11 @@ class CupsPrintersHandler : public ::settings::SettingsPageUIHandler,
void OnPrintersFound(const std::vector<Printer>& printers) override;
void OnDiscoveryDone() override;
+ // Callback for PpdProvider::ResolveCallback.
+ void OnPPDResolved(std::unique_ptr<Printer> printer,
+ printing::PpdProvider::CallbackResultCode result,
+ base::FilePath ppd_path);
+
std::unique_ptr<chromeos::PrinterDiscoverer> printer_discoverer_;
std::unique_ptr<chromeos::printing::PpdProvider> ppd_provider_;

Powered by Google App Engine
This is Rietveld 408576698