Index: net/base/stream_listen_socket.h |
diff --git a/net/base/stream_listen_socket.h b/net/base/stream_listen_socket.h |
index 146e1d1fff1be2f591691815fb159d1f0f6926ce..95c32600f4fbe74820bd2ac524b2e50d396b9cbc 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. |