summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/connection_to_client.h
diff options
context:
space:
mode:
authorsimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-16 17:28:03 +0000
committersimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-16 17:28:03 +0000
commite265ad798d7713116f2e9168eaa4913854029c20 (patch)
tree762319020e8f734beda094e7e8d0a32b8249f454 /remoting/protocol/connection_to_client.h
parent856ff54b27138c316bd5433a20eeb527032e1608 (diff)
downloadchromium_src-e265ad798d7713116f2e9168eaa4913854029c20.zip
chromium_src-e265ad798d7713116f2e9168eaa4913854029c20.tar.gz
chromium_src-e265ad798d7713116f2e9168eaa4913854029c20.tar.bz2
Add the plumbing that will carry a clipboard item from a chromoting client to a host.
BUG=117473 Review URL: http://codereview.chromium.org/9646013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127195 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/connection_to_client.h')
-rw-r--r--remoting/protocol/connection_to_client.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/remoting/protocol/connection_to_client.h b/remoting/protocol/connection_to_client.h
index 80a91fb..3b2f57e 100644
--- a/remoting/protocol/connection_to_client.h
+++ b/remoting/protocol/connection_to_client.h
@@ -23,6 +23,7 @@ namespace remoting {
namespace protocol {
class ClientStub;
+class ClipboardStub;
class HostStub;
class InputStub;
class HostControlDispatcher;
@@ -84,7 +85,8 @@ class ConnectionToClient : public base::NonThreadSafe {
// Return pointer to ClientStub.
virtual ClientStub* client_stub();
- // These two setters should be called before Init().
+ // These three setters should be called before Init().
+ virtual void set_clipboard_stub(ClipboardStub* clipboard_stub);
virtual void set_host_stub(HostStub* host_stub);
virtual void set_input_stub(InputStub* input_stub);
@@ -110,6 +112,7 @@ class ConnectionToClient : public base::NonThreadSafe {
EventHandler* handler_;
// Stubs that are called for incoming messages.
+ ClipboardStub* clipboard_stub_;
HostStub* host_stub_;
InputStub* input_stub_;