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); |