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

Unified Diff: chrome/browser/chromeos/printer_detector/cups_printer_detector.cc

Issue 2906633004: Modify PrinterSetupResult enum to constant style. (Closed)
Patch Set: change max value 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/chromeos/printer_detector/cups_printer_detector.cc
diff --git a/chrome/browser/chromeos/printer_detector/cups_printer_detector.cc b/chrome/browser/chromeos/printer_detector/cups_printer_detector.cc
index a8b1e8f106d0c9b7418344476ab2192aa19f4c9f..00168bbf5c0a15f542cb5780575548fd78036fde 100644
--- a/chrome/browser/chromeos/printer_detector/cups_printer_detector.cc
+++ b/chrome/browser/chromeos/printer_detector/cups_printer_detector.cc
@@ -250,7 +250,7 @@ class CupsPrinterDetectorImpl : public PrinterDetector,
void SetUpPrinterDone(std::unique_ptr<SetUpPrinterData> data,
PrinterSetupResult result) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
- if (result == PrinterSetupResult::SUCCESS) {
+ if (result == PrinterSetupResult::kSuccess) {
if (data->is_new) {
// We aren't done with data->printer yet, so we have to copy it instead
// of moving it.

Powered by Google App Engine
This is Rietveld 408576698