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

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: 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
« no previous file with comments | « content/public/browser/profiler_subscriber.h ('k') | content/public/renderer/render_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « content/public/browser/profiler_subscriber.h ('k') | content/public/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698