Index: remoting/protocol/connection_to_client.h |
diff --git a/remoting/protocol/connection_to_client.h b/remoting/protocol/connection_to_client.h |
index fc892d0cff15d053393c2cc009a426f5ca682cc8..f578a7a26048c6045b5cee465354fcecd5cd83b4 100644 |
--- a/remoting/protocol/connection_to_client.h |
+++ b/remoting/protocol/connection_to_client.h |
@@ -57,10 +57,9 @@ class ConnectionToClient : |
// that this object runs on. A viewer object receives events and messages from |
// a libjingle channel, these events are delegated to |handler|. |
// It is guaranteed that |handler| is called only on the |message_loop|. |
- ConnectionToClient(base::MessageLoopProxy* message_loop, |
- EventHandler* handler); |
+ ConnectionToClient(base::MessageLoopProxy* message_loop, Session* session); |
- virtual void Init(Session* session); |
+ void SetEventHandler(EventHandler* event_handler); |
// Returns the connection in use. |
virtual Session* session(); |