diff options
Diffstat (limited to 'remoting/client/chromoting_client.cc')
-rw-r--r-- | remoting/client/chromoting_client.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc index c47ecd8..edb1ce3 100644 --- a/remoting/client/chromoting_client.cc +++ b/remoting/client/chromoting_client.cc @@ -17,7 +17,7 @@ namespace remoting { ChromotingClient::ChromotingClient(const ClientConfig& config, ClientContext* context, - HostConnection* connection, + protocol::HostConnection* connection, ChromotingView* view, RectangleUpdateDecoder* rectangle_decoder, InputHandler* input_handler, @@ -93,7 +93,7 @@ void ChromotingClient::SetViewport(int x, int y, int width, int height) { view_->SetViewport(x, y, width, height); } -void ChromotingClient::HandleMessage(HostConnection* conn, +void ChromotingClient::HandleMessage(protocol::HostConnection* conn, ChromotingHostMessage* msg) { if (message_loop() != MessageLoop::current()) { message_loop()->PostTask( @@ -146,17 +146,17 @@ void ChromotingClient::DispatchPacket() { *packet, NewTracedMethod(this, &ChromotingClient::OnPacketDone)); } -void ChromotingClient::OnConnectionOpened(HostConnection* conn) { +void ChromotingClient::OnConnectionOpened(protocol::HostConnection* conn) { VLOG(1) << "ChromotingClient::OnConnectionOpened"; SetConnectionState(CONNECTED); } -void ChromotingClient::OnConnectionClosed(HostConnection* conn) { +void ChromotingClient::OnConnectionClosed(protocol::HostConnection* conn) { VLOG(1) << "ChromotingClient::OnConnectionClosed"; SetConnectionState(DISCONNECTED); } -void ChromotingClient::OnConnectionFailed(HostConnection* conn) { +void ChromotingClient::OnConnectionFailed(protocol::HostConnection* conn) { VLOG(1) << "ChromotingClient::OnConnectionFailed"; SetConnectionState(FAILED); } |