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

Unified Diff: net/spdy/spdy_websocket_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/spdy/buffered_spdy_framer.h ('k') | net/url_request/url_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_websocket_stream.h
diff --git a/net/spdy/spdy_websocket_stream.h b/net/spdy/spdy_websocket_stream.h
index 9971ec63c214f0a3fbfe9b8f03a5dc0bf6e3b583..d8d85dacd0263712bfbdb9bd1fe531d058e67b3f 100644
--- a/net/spdy/spdy_websocket_stream.h
+++ b/net/spdy/spdy_websocket_stream.h
@@ -51,6 +51,9 @@ class NET_EXPORT_PRIVATE SpdyWebSocketStream
// Called when SpdyStream is closed.
virtual void OnCloseSpdyStream() = 0;
+
+ protected:
+ virtual ~Delegate() {}
};
SpdyWebSocketStream(SpdySession* spdy_session, Delegate* delegate);
« no previous file with comments | « net/spdy/buffered_spdy_framer.h ('k') | net/url_request/url_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698