diff options
Diffstat (limited to 'remoting/host/client_session.h')
-rw-r--r-- | remoting/host/client_session.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h index da850bc..778243d 100644 --- a/remoting/host/client_session.h +++ b/remoting/host/client_session.h @@ -5,7 +5,7 @@ #ifndef REMOTING_HOST_CLIENT_SESSION_H_ #define REMOTING_HOST_CLIENT_SESSION_H_ -#include <list> +#include <string> #include "base/memory/ref_counted.h" #include "base/memory/weak_ptr.h" @@ -104,6 +104,8 @@ class ClientSession const protocol::VideoControl& video_control) OVERRIDE; virtual void ControlAudio( const protocol::AudioControl& audio_control) OVERRIDE; + virtual void SetCapabilities( + const protocol::Capabilities& capabilities) OVERRIDE; // protocol::ConnectionToClient::EventHandler interface. virtual void OnConnectionAuthenticated( @@ -209,6 +211,12 @@ class ClientSession scoped_refptr<AudioScheduler> audio_scheduler_; scoped_refptr<VideoScheduler> video_scheduler_; + // The set of all capabilities supported by the client. + scoped_ptr<std::string> client_capabilities_; + + // The set of all capabilities supported by the host. + std::string host_capabilities_; + // Used to inject mouse and keyboard input and handle clipboard events. scoped_ptr<InputInjector> input_injector_; |