diff options
Diffstat (limited to 'chrome/service/cloud_print/print_system.h')
-rw-r--r-- | chrome/service/cloud_print/print_system.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/service/cloud_print/print_system.h b/chrome/service/cloud_print/print_system.h index 3f35cf2..a5463b4 100644 --- a/chrome/service/cloud_print/print_system.h +++ b/chrome/service/cloud_print/print_system.h @@ -119,10 +119,12 @@ class PrintSystem : public base::RefCountedThreadSafe<PrintSystem> { public: // Callback interface for JobSpooler notifications. class Delegate { - public: - virtual ~Delegate() { } - virtual void OnJobSpoolSucceeded(const PlatformJobId& job_id) = 0; - virtual void OnJobSpoolFailed() = 0; + public: + virtual void OnJobSpoolSucceeded(const PlatformJobId& job_id) = 0; + virtual void OnJobSpoolFailed() = 0; + + protected: + virtual ~Delegate() {} }; // Spool job to the printer asynchronously. Caller will be notified via |