Index: remoting/protocol/connection_to_host.cc |
diff --git a/remoting/protocol/connection_to_host.cc b/remoting/protocol/connection_to_host.cc |
index 25a8949623412647490334873eb04ff5fb7e0774..518615ee0d51234cc71b25902774e0988f0f9469 100644 |
--- a/remoting/protocol/connection_to_host.cc |
+++ b/remoting/protocol/connection_to_host.cc |
@@ -35,6 +35,7 @@ ConnectionToHost::ConnectionToHost( |
event_callback_(NULL), |
client_stub_(NULL), |
clipboard_stub_(NULL), |
+ cursor_shape_stub_(NULL), |
video_stub_(NULL), |
state_(CONNECTING), |
error_(OK) { |
@@ -65,10 +66,12 @@ void ConnectionToHost::Connect(scoped_refptr<XmppProxy> xmpp_proxy, |
HostEventCallback* event_callback, |
ClientStub* client_stub, |
ClipboardStub* clipboard_stub, |
+ CursorShapeStub* cursor_shape_stub, |
VideoStub* video_stub) { |
event_callback_ = event_callback; |
client_stub_ = client_stub; |
clipboard_stub_ = clipboard_stub; |
+ cursor_shape_stub_ = cursor_shape_stub; |
video_stub_ = video_stub; |
authenticator_ = authenticator.Pass(); |
@@ -176,6 +179,7 @@ void ConnectionToHost::OnSessionStateChange( |
&ConnectionToHost::OnChannelInitialized, base::Unretained(this))); |
control_dispatcher_->set_client_stub(client_stub_); |
control_dispatcher_->set_clipboard_stub(clipboard_stub_); |
+ control_dispatcher_->set_cursor_shape_stub(cursor_shape_stub_); |
event_dispatcher_.reset(new ClientEventDispatcher()); |
event_dispatcher_->Init(session_.get(), base::Bind( |