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

Unified Diff: chrome/service/cloud_print/printer_job_handler.h

Issue 6356007: Added a diagnostic user message when enumerating printers fails. Also tweaked... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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/service/cloud_print/printer_job_handler.h
===================================================================
--- chrome/service/cloud_print/printer_job_handler.h (revision 72042)
+++ chrome/service/cloud_print/printer_job_handler.h (working copy)
@@ -91,6 +91,10 @@
virtual void OnPrinterJobHandlerShutdown(
PrinterJobHandler* job_handler, const std::string& printer_id) = 0;
virtual void OnAuthError() = 0;
+ // Called when the PrinterJobHandler cannot find the printer locally. The
+ // delegate returns true if the printer should be deleted from the server,
+ // false otherwise.
+ virtual bool OnPrinterNotFound(const std::string& printer_name) = 0;
protected:
virtual ~Delegate() {}

Powered by Google App Engine
This is Rietveld 408576698