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

Unified Diff: net/curvecp/packetizer.h

Issue 10417002: RefCounted types should not have public destructors, net/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased to r139261 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
« no previous file with comments | « net/base/stream_listen_socket.h ('k') | net/disk_cache/file.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/curvecp/packetizer.h
diff --git a/net/curvecp/packetizer.h b/net/curvecp/packetizer.h
index bd4c27f58bf0d7554bb09e39130a5d3cf299b88a..c4b62edf910d87f2d190f1cfe9104dcd97248550 100644
--- a/net/curvecp/packetizer.h
+++ b/net/curvecp/packetizer.h
@@ -27,8 +27,6 @@ class Packetizer {
size_t length) = 0;
};
- virtual ~Packetizer() {}
-
// Send a message on a connection.
virtual int SendMessage(ConnectionKey key,
const char* data,
@@ -43,6 +41,9 @@ class Packetizer {
// Returns the current maximum message size which can be fit into the next
// message payload to be sent on the packetizer.
virtual int max_message_payload() const = 0;
+
+ protected:
+ virtual ~Packetizer() {}
};
} // namespace net
« no previous file with comments | « net/base/stream_listen_socket.h ('k') | net/disk_cache/file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698