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

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

Issue 10383262: RefCounted types should not have public destructors, delegate cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make win bot happy Created 8 years, 6 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/print_system.h
diff --git a/chrome/service/cloud_print/print_system.h b/chrome/service/cloud_print/print_system.h
index 3f35cf2defd0b6063a3b894da81640b994868908..a5463b4e6721bffe126dceb6c08ff8a78f4ec30f 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
« no previous file with comments | « chrome/service/cloud_print/cloud_print_url_fetcher.h ('k') | chrome/test/automation/javascript_execution_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698