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

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: Sync, and make InputStub inherit from ClipboardStub. 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
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);
Wez 2012/03/15 01:14:44 See earlier comment re not splitting clipboard_stu
simonmorris 2012/03/15 16:53:19 Now that InputStub doesn't inherit from ClipboardS
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_;

Powered by Google App Engine
This is Rietveld 408576698