| Index: remoting/protocol/connection_to_host.h
|
| diff --git a/remoting/protocol/connection_to_host.h b/remoting/protocol/connection_to_host.h
|
| index 39aeecd03c5c4e98b771a1076f6ae1293d89faab..02097e95922fd5be7d7dc254c965f432a2a821b5 100644
|
| --- a/remoting/protocol/connection_to_host.h
|
| +++ b/remoting/protocol/connection_to_host.h
|
| @@ -13,6 +13,9 @@
|
| #include "remoting/protocol/message_decoder.h"
|
|
|
| namespace remoting {
|
| +
|
| +class ChromotocolConfig;
|
| +
|
| namespace protocol {
|
|
|
| class VideoStub;
|
| @@ -23,11 +26,6 @@ class ConnectionToHost {
|
| public:
|
| virtual ~HostEventCallback() {}
|
|
|
| - // Handles an event received by the protocol::ConnectionToHost. Ownership
|
| - // of the message is passed to the callee.
|
| - virtual void HandleMessage(ConnectionToHost* conn,
|
| - ChromotingHostMessage* message) = 0;
|
| -
|
| // Called when the network connection is opened.
|
| virtual void OnConnectionOpened(ConnectionToHost* conn) = 0;
|
|
|
| @@ -48,6 +46,8 @@ class ConnectionToHost {
|
| VideoStub* video_stub) = 0;
|
| virtual void Disconnect() = 0;
|
|
|
| + virtual const ChromotocolConfig* config() = 0;
|
| +
|
| // Send an input event to the host.
|
| virtual void SendEvent(const ChromotingClientMessage& msg) = 0;
|
|
|
|
|