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

Unified Diff: chrome/browser/chromeos/printing/printer_configurer.cc

Issue 2738323003: Implement basic USB setup in the cups printer detector. Factor out (Closed)
Patch Set: Fix ppd provider lifetime. It was being inappropriately deleted which meant it caused USB resoluti… Created 3 years, 9 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/chromeos/printing/printer_configurer.cc
diff --git a/chrome/browser/chromeos/printing/printer_configurer.cc b/chrome/browser/chromeos/printing/printer_configurer.cc
index e850c4f5678ea56b52604e79aeee6b59696618af..1c82042ed4a62be6982d4488803914cbd9abfbad 100644
--- a/chrome/browser/chromeos/printing/printer_configurer.cc
+++ b/chrome/browser/chromeos/printing/printer_configurer.cc
@@ -67,7 +67,7 @@ class PrinterConfigurerImpl : public PrinterConfigurer {
// It's expected that debug daemon posts callbacks on the UI thread.
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
- SetupResult result = UNKNOWN;
+ PrinterSetupResult result = UNKNOWN;
switch (result_code) {
case 0:
result = SUCCESS;
@@ -85,7 +85,7 @@ class PrinterConfigurerImpl : public PrinterConfigurer {
// The callback is expected to run on the UI thread.
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
LOG(WARNING) << "Could not contact debugd";
- cb.Run(SetupResult::DBUS_ERROR);
+ cb.Run(PrinterSetupResult::DBUS_ERROR);
}
void AddPrinter(const Printer& printer,
« no previous file with comments | « chrome/browser/chromeos/printing/printer_configurer.h ('k') | chrome/browser/chromeos/printing/usb_printer_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698