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

Unified Diff: ppapi/proxy/host_dispatcher.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: ppapi/proxy/host_dispatcher.h
diff --git a/ppapi/proxy/host_dispatcher.h b/ppapi/proxy/host_dispatcher.h
index 70dd08a2a47ee3670c2af59653e77f23b8b1899f..dce39a324820916746bdb747e1cda4b76a4ca7e3 100644
--- a/ppapi/proxy/host_dispatcher.h
+++ b/ppapi/proxy/host_dispatcher.h
@@ -32,14 +32,15 @@ class PPAPI_PROXY_EXPORT HostDispatcher : public Dispatcher {
// actually represents a stack of blocking messages.
class SyncMessageStatusReceiver : public IPC::ChannelProxy::MessageFilter {
public:
- virtual ~SyncMessageStatusReceiver() {}
-
// Notification that a sync message is about to be sent out.
virtual void BeginBlockOnSyncMessage() = 0;
// Notification that a sync message reply was received and the dispatcher
// is no longer blocked on a sync message.
virtual void EndBlockOnSyncMessage() = 0;
+
+ protected:
+ virtual ~SyncMessageStatusReceiver() {}
};
// Constructor for the renderer side. This will take a reference to the

Powered by Google App Engine
This is Rietveld 408576698