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

Unified Diff: net/socket_stream/socket_stream.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/disk_cache/file.h ('k') | net/spdy/buffered_spdy_framer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket_stream/socket_stream.h
diff --git a/net/socket_stream/socket_stream.h b/net/socket_stream/socket_stream.h
index a2e5ddb2ce3e11ab4955f1a6a444ab4a2718c626..f756969aab5c47cebcb413d4ae79977e0b1a8746 100644
--- a/net/socket_stream/socket_stream.h
+++ b/net/socket_stream/socket_stream.h
@@ -59,8 +59,6 @@ class NET_EXPORT SocketStream
class NET_EXPORT Delegate {
public:
- virtual ~Delegate() {}
-
virtual int OnStartOpenConnection(SocketStream* socket,
const CompletionCallback& callback) {
return OK;
@@ -121,6 +119,9 @@ class NET_EXPORT SocketStream
CookieOptions* options) {
return true;
}
+
+ protected:
+ virtual ~Delegate() {}
};
SocketStream(const GURL& url, Delegate* delegate);
« no previous file with comments | « net/disk_cache/file.h ('k') | net/spdy/buffered_spdy_framer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698