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/host/event_executor.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/host/event_executor.h')
-rw-r--r-- | remoting/host/event_executor.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/remoting/host/event_executor.h b/remoting/host/event_executor.h index bfdf38f..3f87ea7 100644 --- a/remoting/host/event_executor.h +++ b/remoting/host/event_executor.h @@ -7,11 +7,12 @@ #include <vector> -#include "remoting/base/protocol_decoder.h" +#include "base/basictypes.h" namespace remoting { class Capturer; +class ChromotingClientMessage; // An interface that defines the behavior of an event executor object. // An event executor is to perform actions on the host machine. For example @@ -19,14 +20,14 @@ class Capturer; // clipboards. class EventExecutor { public: - EventExecutor(Capturer* capturer) + explicit EventExecutor(Capturer* capturer) : capturer_(capturer) { } virtual ~EventExecutor() {} // Handles input events from ClientMessageList and removes them from the // list. - virtual void HandleInputEvents(ClientMessageList* messages) = 0; + virtual void HandleInputEvent(ChromotingClientMessage* message) = 0; // TODO(hclam): Define actions for clipboards. protected: |