Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Unified Diff: remoting/protocol/connection_to_client.h

Issue 9646013: Add the plumbing that will carry a clipboard item from a chromoting client to a host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix remoting_simple_host. Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/protocol/clipboard_stub.h ('k') | remoting/protocol/connection_to_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/connection_to_client.h
diff --git a/remoting/protocol/connection_to_client.h b/remoting/protocol/connection_to_client.h
index 80a91fb41d284959dd9444b22e7afa07aa227889..3b2f57e7e2d38199245bc901bf6f0f32120fd18c 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_;
« no previous file with comments | « remoting/protocol/clipboard_stub.h ('k') | remoting/protocol/connection_to_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698