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

Unified Diff: remoting/host/clipboard.h

Issue 10413060: [Chromoting] Let the Windows IT2Me host send clipboard events to the client. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use MessageLoopProxy+WeakPtr. Created 8 years, 7 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/host/clipboard.h
diff --git a/remoting/host/clipboard.h b/remoting/host/clipboard.h
index e02c09d2a64831e47a8230911b2d9f9ca2ebbbe8..907726f5e0461e331aa7b7b202eee72198c38aa8 100644
--- a/remoting/host/clipboard.h
+++ b/remoting/host/clipboard.h
@@ -8,6 +8,8 @@
#include <string>
#include "base/callback.h"
+#include "base/memory/ref_counted.h"
+#include "remoting/protocol/clipboard_proxy.h"
namespace remoting {
@@ -22,7 +24,8 @@ class Clipboard {
virtual ~Clipboard() {};
// Initialises any objects needed to read from or write to the clipboard.
- virtual void Start() = 0;
+ virtual void Start(
+ const scoped_refptr<protocol::ClipboardProxy>& client_clipboard) = 0;
// Destroys any objects initialised by Start().
virtual void Stop() = 0;

Powered by Google App Engine
This is Rietveld 408576698