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

Unified Diff: ipc/ipc_sender.h

Issue 10694111: RefCounted types should not have public destructors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix android & Win compiles Created 8 years, 5 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 | « ipc/ipc_listener.h ('k') | ppapi/proxy/var_serialization_rules.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_sender.h
diff --git a/ipc/ipc_sender.h b/ipc/ipc_sender.h
index f70f709c9ffe6932bdb85b5aadb9cb3d1649db39..9c26bf3e204047e7a952dfdc45caed6cc3b43664 100644
--- a/ipc/ipc_sender.h
+++ b/ipc/ipc_sender.h
@@ -13,13 +13,14 @@ class Message;
class IPC_EXPORT Sender {
public:
- virtual ~Sender() {}
-
// Sends the given IPC message. The implementor takes ownership of the
// given Message regardless of whether or not this method succeeds. This
// is done to make this method easier to use. Returns true on success and
// false otherwise.
virtual bool Send(Message* msg) = 0;
+
+ protected:
+ virtual ~Sender() {}
};
} // namespace IPC
« no previous file with comments | « ipc/ipc_listener.h ('k') | ppapi/proxy/var_serialization_rules.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698