Index: remoting/client/chromoting_client.h |
diff --git a/remoting/client/chromoting_client.h b/remoting/client/chromoting_client.h |
index d6fc09bc2b8964850074d5899e1cfc0a0a244a99..0cade018c9086e336bfdfbc1f39dd3090dba5647 100644 |
--- a/remoting/client/chromoting_client.h |
+++ b/remoting/client/chromoting_client.h |
@@ -33,6 +33,7 @@ class TransportFactory; |
class AudioDecodeScheduler; |
class AudioPlayer; |
+class Capabilities; |
class ClientContext; |
class ClientUserInterface; |
class FrameConsumerProxy; |
@@ -61,6 +62,10 @@ class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback, |
// Return the stats recorded by this client. |
ChromotingStats* GetStats(); |
+ // ClientStub implementation. |
+ virtual void SetCapabilities(const protocol::Capabilities& capabilities) |
+ OVERRIDE; |
Sergey Ulanov
2013/04/16 08:38:53
nit: I think the right way to format this code is
alexeypa (please no reviews)
2013/04/16 22:06:11
Done.
|
+ |
// ClipboardStub implementation for receiving clipboard data from host. |
virtual void InjectClipboardEvent(const protocol::ClipboardEvent& event) |
OVERRIDE; |
@@ -93,6 +98,9 @@ class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback, |
// If non-NULL, this is called when the client is done. |
base::Closure client_done_; |
+ // The set of all capabilities supported by the host. |
+ scoped_ptr<Capabilities> host_capabilities_; |
+ |
// Record the statistics of the connection. |
ChromotingStats stats_; |