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

Unified Diff: content/public/browser/worker_service_observer.h

Issue 10383262: RefCounted types should not have public destructors, delegate cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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: content/public/browser/worker_service_observer.h
diff --git a/content/public/browser/worker_service_observer.h b/content/public/browser/worker_service_observer.h
index e09051122f293509f866d1720b541020210c6cf6..e9d6abbc2929cb6037502edfd7d2aa38dfab63c7 100644
--- a/content/public/browser/worker_service_observer.h
+++ b/content/public/browser/worker_service_observer.h
@@ -15,13 +15,14 @@ namespace content {
class WorkerServiceObserver {
public:
- virtual ~WorkerServiceObserver() {}
-
virtual void WorkerCreated(const GURL& url,
const string16& name,
int process_id,
int route_id) {}
virtual void WorkerDestroyed(int process_id, int route_id) {}
+
+ protected:
+ virtual ~WorkerServiceObserver() {}
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698