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

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

Issue 2708233006: Report print jobs that are aborted by CUPS as errors. (Closed)
Patch Set: better Created 3 years, 10 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/cups_print_job_notification_manager.h
diff --git a/chrome/browser/chromeos/printing/cups_print_job_notification_manager.h b/chrome/browser/chromeos/printing/cups_print_job_notification_manager.h
index bad14c895cabc268c7a378f00d773a8146a614d8..4d77c3b4497fe7ed20a748fd2639402e06fe4e69 100644
--- a/chrome/browser/chromeos/printing/cups_print_job_notification_manager.h
+++ b/chrome/browser/chromeos/printing/cups_print_job_notification_manager.h
@@ -36,8 +36,11 @@ class CupsPrintJobNotificationManager : public CupsPrintJobManager::Observer {
void OnPrintJobResumed(CupsPrintJob* job) override;
void OnPrintJobDone(CupsPrintJob* job) override;
void OnPrintJobError(CupsPrintJob* job) override;
+ void OnPrintJobCancelled(CupsPrintJob* job) override;
private:
+ void UpdateNotification(CupsPrintJob* job);
+
PrintJobNotificationMap notification_map_;
CupsPrintJobManager* print_job_manager_;
Profile* profile_;

Powered by Google App Engine
This is Rietveld 408576698