diff options
Diffstat (limited to 'remoting/protocol/host_control_sender.cc')
-rw-r--r-- | remoting/protocol/host_control_sender.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/protocol/host_control_sender.cc b/remoting/protocol/host_control_sender.cc index 6e71341..bdf1b95 100644 --- a/remoting/protocol/host_control_sender.cc +++ b/remoting/protocol/host_control_sender.cc @@ -19,14 +19,14 @@ namespace protocol { HostControlSender::HostControlSender(base::MessageLoopProxy* message_loop, net::Socket* socket) : buffered_writer_(new BufferedSocketWriter(message_loop)) { - buffered_writer_->Init(socket, NULL); + buffered_writer_->Init(socket, BufferedSocketWriter::WriteFailedCallback()); } HostControlSender::~HostControlSender() { } void HostControlSender::BeginSessionRequest(const LocalLoginCredentials* msg, - Task* done) { + const base::Closure& done) { protocol::ControlMessage message; message.mutable_begin_session_request()->mutable_credentials()->CopyFrom( *msg); |