Index: net/base/stream_listen_socket.h |
diff --git a/net/base/stream_listen_socket.h b/net/base/stream_listen_socket.h |
index 2bef5196114ffaa4e4876cf01368a84314497d04..61fd6c887f1e2ffcf60e0886001910055e71ccb5 100644 |
--- a/net/base/stream_listen_socket.h |
+++ b/net/base/stream_listen_socket.h |
@@ -60,8 +60,6 @@ class NET_EXPORT StreamListenSocket |
// should be split up similarly. |
class Delegate { |
public: |
- virtual ~Delegate() {} |
- |
// |server| is the original listening Socket, connection is the new |
// Socket that was created. Ownership of |connection| is transferred |
// to the delegate with this call. |
@@ -71,6 +69,9 @@ class NET_EXPORT StreamListenSocket |
const char* data, |
int len) = 0; |
virtual void DidClose(StreamListenSocket* sock) = 0; |
+ |
+ protected: |
+ virtual ~Delegate() {} |
}; |
// Send data to the socket. |