Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1153)

Unified Diff: remoting/host/client_session.h

Issue 10383262: RefCounted types should not have public destructors, delegate cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make win bot happy Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/frame_producer.h ('k') | remoting/protocol/session_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « remoting/client/frame_producer.h ('k') | remoting/protocol/session_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698