Index: remoting/host/client_session.h |
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h |
index 084d153a2de2acaa64684c73dc115e6ed6375d30..ee4c52a2f76ef861cebd66175eb9d813078ba2a2 100644 |
--- a/remoting/host/client_session.h |
+++ b/remoting/host/client_session.h |
@@ -34,8 +34,6 @@ class ClientSession : public protocol::HostEventStub, |
// Callback interface for passing events to the ChromotingHost. |
class EventHandler { |
public: |
- virtual ~EventHandler() {} |
- |
// Called after authentication has finished successfully. |
virtual void OnSessionAuthenticated(ClientSession* client) = 0; |
@@ -61,6 +59,9 @@ class ClientSession : public protocol::HostEventStub, |
ClientSession* client, |
const std::string& channel_name, |
const protocol::TransportRoute& route) = 0; |
+ |
+ protected: |
+ virtual ~EventHandler() {} |
}; |
ClientSession(EventHandler* event_handler, |