commit | ac4eb30f695be96c5c601ad86043a418dfb08b17 | [log] [tgz] |
---|---|---|
author | Bailey Berro <[email protected]> | Fri May 17 21:34:56 2019 |
committer | Commit Bot <[email protected]> | Fri May 17 21:34:56 2019 |
tree | 243f543ffc6b57b3d0b97c2c4389bec4cee1fff3 | |
parent | 96cc746ffc3bf78086d9d423bc588cb9f40425f5 [diff] [blame] |
Add USB printer notification for configuration required message This change introduces a notification that will be displayed when a user plugs in a USB printer that requires manual configuration. Clicking the notification will open CrOS settings so the user can manually configure the printer. - Subsequent CL will call ShowConfigurationNotification() to show the notification. Bug: 951139 Change-Id: Ibff4d415de9c3ccf8eda45f470cfa30513468bb2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1606193 Reviewed-by: Lei Zhang <[email protected]> Reviewed-by: Zentaro Kavanagh <[email protected]> Commit-Queue: Lei Zhang <[email protected]> Auto-Submit: Bailey Berro <[email protected]> Cr-Commit-Position: refs/heads/master@{#661038}
diff --git a/chrome/browser/chromeos/printing/usb_printer_notification.h b/chrome/browser/chromeos/printing/usb_printer_notification.h index f0a2161f..fc11849b 100644 --- a/chrome/browser/chromeos/printing/usb_printer_notification.h +++ b/chrome/browser/chromeos/printing/usb_printer_notification.h
@@ -26,7 +26,7 @@ // according to its state and respond to the user's action. class UsbPrinterNotification : public message_center::NotificationObserver { public: - enum class Type { kEphemeral, kSaved }; + enum class Type { kEphemeral, kSaved, kConfigurationRequired }; UsbPrinterNotification(const Printer& printer, const std::string& notification_id,