Index: remoting/client/chromoting_client.h |
diff --git a/remoting/client/chromoting_client.h b/remoting/client/chromoting_client.h |
index d6fc09bc2b8964850074d5899e1cfc0a0a244a99..0ec34cd0bb51461cea3cb5f96b68ae7d163bf252 100644 |
--- a/remoting/client/chromoting_client.h |
+++ b/remoting/client/chromoting_client.h |
@@ -7,7 +7,7 @@ |
#ifndef REMOTING_CLIENT_CHROMOTING_CLIENT_H_ |
#define REMOTING_CLIENT_CHROMOTING_CLIENT_H_ |
-#include <list> |
+#include <string> |
#include "base/callback.h" |
#include "base/memory/scoped_ptr.h" |
@@ -61,13 +61,17 @@ 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; |
+ |
// ClipboardStub implementation for receiving clipboard data from host. |
- virtual void InjectClipboardEvent(const protocol::ClipboardEvent& event) |
- OVERRIDE; |
+ virtual void InjectClipboardEvent( |
+ const protocol::ClipboardEvent& event) OVERRIDE; |
// CursorShapeStub implementation for receiving cursor shape updates. |
- virtual void SetCursorShape(const protocol::CursorShapeInfo& cursor_shape) |
- OVERRIDE; |
+ virtual void SetCursorShape( |
+ const protocol::CursorShapeInfo& cursor_shape) OVERRIDE; |
// ConnectionToHost::HostEventCallback implementation. |
virtual void OnConnectionState( |
@@ -93,6 +97,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<std::string> host_capabilities_; |
Sergey Ulanov
2013/04/18 00:34:53
why not just std::string instead of scoped_ptr?
alexeypa (please no reviews)
2013/04/18 18:56:36
Done.
|
+ |
// Record the statistics of the connection. |
ChromotingStats stats_; |