diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-06 22:46:00 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-06 22:46:00 +0000 |
commit | c3af26f3314bf48f478cec8128b5c15cc3f98940 (patch) | |
tree | 0d3d0802a3a9b8e05487626f90c7dbf0dcecdea9 /remoting/client/chromoting_client.h | |
parent | 5bcab699da1cedb4fc666c9f5d0099574a27c2fe (diff) | |
download | chromium_src-c3af26f3314bf48f478cec8128b5c15cc3f98940.zip chromium_src-c3af26f3314bf48f478cec8128b5c15cc3f98940.tar.gz chromium_src-c3af26f3314bf48f478cec8128b5c15cc3f98940.tar.bz2 |
Use new Chromotocol code in host andclient.
1. ProtocolDecoder renamed to MessagesDecoder and moved to remoting/protocol.
2. base/protocol_util.[h|cc] split into base/util.[h|cc] and protocol/util.[h|cc].
3. Added StreamReader and StreamWriter classes for events and video channels.
4. Client and host changed to use the new protocol code.
BUG=None
TEST=Unittests
Review URL: http://codereview.chromium.org/3595012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61723 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client/chromoting_client.h')
-rw-r--r-- | remoting/client/chromoting_client.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/remoting/client/chromoting_client.h b/remoting/client/chromoting_client.h index 31870ed..f55ec78 100644 --- a/remoting/client/chromoting_client.h +++ b/remoting/client/chromoting_client.h @@ -10,6 +10,7 @@ #include "base/task.h" #include "remoting/client/host_connection.h" #include "remoting/client/client_config.h" +#include "remoting/protocol/messages_decoder.h" class MessageLoop; @@ -50,7 +51,8 @@ class ChromotingClient : public HostConnection::HostEventCallback { virtual void SetViewport(int x, int y, int width, int height); // HostConnection::HostEventCallback implementation. - virtual void HandleMessages(HostConnection* conn, HostMessageList* messages); + virtual void HandleMessage(HostConnection* conn, + ChromotingHostMessage* messages); virtual void OnConnectionOpened(HostConnection* conn); virtual void OnConnectionClosed(HostConnection* conn); virtual void OnConnectionFailed(HostConnection* conn); |