summaryrefslogtreecommitdiffstats
path: root/remoting/client/chromoting_client.cc
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-04 00:46:01 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-04 00:46:01 +0000
commitd87c404738c7c89968ee01353d71d3a31f91669f (patch)
tree91e581d1d29cbcb64f22634961bb212b674ed1c7 /remoting/client/chromoting_client.cc
parentde9bdd1e4d2f87f53b1c2d3eacfbe43ef6ca1019 (diff)
downloadchromium_src-d87c404738c7c89968ee01353d71d3a31f91669f.zip
chromium_src-d87c404738c7c89968ee01353d71d3a31f91669f.tar.gz
chromium_src-d87c404738c7c89968ee01353d71d3a31f91669f.tar.bz2
Move protocol classes to the remoting::protocol namespace
BUG=None TEST=compiles Review URL: http://codereview.chromium.org/4233005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65006 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client/chromoting_client.cc')
-rw-r--r--remoting/client/chromoting_client.cc10
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);
}