Index: remoting/host/client_session.h |
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h |
index 0fb8532f2a867cbd3e050789a50f44351a2d1238..397beffb81b35e496af2e6fe52494328218d9bbf 100644 |
--- a/remoting/host/client_session.h |
+++ b/remoting/host/client_session.h |
@@ -36,8 +36,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; |
@@ -63,6 +61,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, |