| Index: remoting/client/chromoting_client.h
|
| diff --git a/remoting/client/chromoting_client.h b/remoting/client/chromoting_client.h
|
| index d6fc09bc2b8964850074d5899e1cfc0a0a244a99..a04606e80650c2ae39d6afbccb664d27bc40c94b 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,12 @@ 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.
|
| + std::string host_capabilities_;
|
| +
|
| + // True if |protocol::Capabilities| message has been received.
|
| + bool host_capabilities_received_;
|
| +
|
| // Record the statistics of the connection.
|
| ChromotingStats stats_;
|
|
|
|
|