summaryrefslogtreecommitdiffstats
path: root/remoting/host/client_session.h
diff options
context:
space:
mode:
authorsimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-22 22:29:24 +0000
committersimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-22 22:29:24 +0000
commitff3761a1e35e0d5ef9e3c00beeadd3c565a4b84f (patch)
tree6ec789e2b8ba63d88d29af7e6741bf335784a73e /remoting/host/client_session.h
parentb44a986ebf6b56ad74a5efcbd2395851e815489c (diff)
downloadchromium_src-ff3761a1e35e0d5ef9e3c00beeadd3c565a4b84f.zip
chromium_src-ff3761a1e35e0d5ef9e3c00beeadd3c565a4b84f.tar.gz
chromium_src-ff3761a1e35e0d5ef9e3c00beeadd3c565a4b84f.tar.bz2
[Chromoting] Add a filter that will stop the host sending unnecessary clipboard events to the client.
The host does not yet send any clipboard events to the client. A follow-up CL will make that happen. BUG=117473 Review URL: https://chromiumcodereview.appspot.com/10399052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138377 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/client_session.h')
-rw-r--r--remoting/host/client_session.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h
index e61e846..fd2b9a08 100644
--- a/remoting/host/client_session.h
+++ b/remoting/host/client_session.h
@@ -10,6 +10,7 @@
#include "base/time.h"
#include "base/threading/non_thread_safe.h"
#include "remoting/host/remote_input_filter.h"
+#include "remoting/protocol/clipboard_echo_filter.h"
#include "remoting/protocol/clipboard_stub.h"
#include "remoting/protocol/connection_to_client.h"
#include "remoting/protocol/host_event_stub.h"
@@ -148,6 +149,10 @@ class ClientSession : public protocol::HostEventStub,
// Filter used to disable inputs when we're not authenticated.
protocol::InputFilter auth_input_filter_;
+ // Filter to used to stop clipboard items sent from the client being echoed
+ // back to it.
+ protocol::ClipboardEchoFilter clipboard_echo_filter_;
+
// Capturer, used to determine current screen size for ensuring injected
// mouse events fall within the screen area.
// TODO(lambroslambrou): Move floor-control logic, and clamping to screen