diff options
Diffstat (limited to 'chrome/service/cloud_print/printer_job_handler.h')
-rw-r--r-- | chrome/service/cloud_print/printer_job_handler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/service/cloud_print/printer_job_handler.h b/chrome/service/cloud_print/printer_job_handler.h index 4fb5e85..ee2e8cc 100644 --- a/chrome/service/cloud_print/printer_job_handler.h +++ b/chrome/service/cloud_print/printer_job_handler.h @@ -91,6 +91,11 @@ class PrinterJobHandler : public base::RefCountedThreadSafe<PrinterJobHandler>, 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 |delete_from_server| to true if the printer should be + // deleted from the server,false otherwise. + virtual void OnPrinterNotFound(const std::string& printer_name, + bool* delete_from_server) = 0; protected: virtual ~Delegate() {} |