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

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

Issue 2705333007: Refine notifications for print jobs in progress. (Closed)
Patch Set: use enforce boolean 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/printing/cups_print_job_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/printing/cups_print_job_manager_impl.h
diff --git a/chrome/browser/chromeos/printing/cups_print_job_manager_impl.h b/chrome/browser/chromeos/printing/cups_print_job_manager_impl.h
index d32066d6f8e3a6daea969c36ba5f715b487d2c30..886cf0635597919ba605419600e0c7c93ce5702b 100644
--- a/chrome/browser/chromeos/printing/cups_print_job_manager_impl.h
+++ b/chrome/browser/chromeos/printing/cups_print_job_manager_impl.h
@@ -67,8 +67,8 @@ class CupsPrintJobManagerImpl : public CupsPrintJobManager,
// Mark remaining jobs as errors and remove active jobs.
void PurgeJobs();
- // Updates the state and performs the appropriate notifications.
- void JobStateUpdated(CupsPrintJob* job, CupsPrintJob::State new_state);
+ // Notify observers that a state update has occured for |job|.
+ void NotifyJobStateUpdate(CupsPrintJob* job);
// Ongoing print jobs.
std::map<std::string, std::unique_ptr<CupsPrintJob>> jobs_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/printing/cups_print_job_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698