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

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

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.h
diff --git a/chrome/browser/chromeos/printing/printer_configurer.h b/chrome/browser/chromeos/printing/printer_configurer.h
index 9639f819ad9a2074d6ea812d7ece9cbf3ead149c..80bc1c1f7770c4c376f02ccc14a3baef14e31ff6 100644
--- a/chrome/browser/chromeos/printing/printer_configurer.h
+++ b/chrome/browser/chromeos/printing/printer_configurer.h
@@ -14,7 +14,7 @@ class Profile;
namespace chromeos {
-enum SetupResult {
+enum PrinterSetupResult {
UNKNOWN,
FATAL_ERROR,
SUCCESS, // Printer set up successfully
@@ -28,7 +28,7 @@ enum SetupResult {
PPD_UNRETRIEVABLE // Could not download PPD
};
-using PrinterSetupCallback = base::Callback<void(SetupResult)>;
+using PrinterSetupCallback = base::Callback<void(PrinterSetupResult)>;
// Configures printers by retrieving PPDs and registering the printer with CUPS.
// Class must be constructed and used on the UI thread.

Powered by Google App Engine
This is Rietveld 408576698