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

Unified Diff: content/public/browser/profiler_subscriber.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: content/public/browser/profiler_subscriber.h
diff --git a/content/public/browser/profiler_subscriber.h b/content/public/browser/profiler_subscriber.h
index f6679d9000620566cb619f9021b5b04f511d0447..ca8364322598df16e18fff7901d4955e34b4c553 100644
--- a/content/public/browser/profiler_subscriber.h
+++ b/content/public/browser/profiler_subscriber.h
@@ -17,8 +17,6 @@ namespace content {
// Objects interested in receiving profiler data derive from ProfilerSubscriber.
class CONTENT_EXPORT ProfilerSubscriber {
public:
- virtual ~ProfilerSubscriber() {}
-
// Send number of pending processes to subscriber. |end| is set to true if it
// is the last time. This is called on the UI thread.
virtual void OnPendingProcesses(int sequence_number,
@@ -31,6 +29,9 @@ class CONTENT_EXPORT ProfilerSubscriber {
int sequence_number,
const tracked_objects::ProcessDataSnapshot& profiler_data,
ProcessType process_type) = 0;
+
+ protected:
+ virtual ~ProfilerSubscriber() {}
};
} // namespace content
« no previous file with comments | « content/public/browser/download_manager_delegate.cc ('k') | content/public/browser/worker_service_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698