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

Unified Diff: remoting/protocol/connection_to_client.cc

Issue 10831223: Use ClipboardFilter in ClientSession auth & disable-input blocking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Improve comment. Created 8 years, 4 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/connection_to_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/connection_to_client.cc
diff --git a/remoting/protocol/connection_to_client.cc b/remoting/protocol/connection_to_client.cc
index e9ce52be82e9e130bdfc1681540284411943831d..8abbe648bad690b951cf16a0eba9f09f569bb072 100644
--- a/remoting/protocol/connection_to_client.cc
+++ b/remoting/protocol/connection_to_client.cc
@@ -80,16 +80,31 @@ void ConnectionToClient::set_clipboard_stub(
clipboard_stub_ = clipboard_stub;
}
+ClipboardStub* ConnectionToClient::clipboard_stub() {
+ DCHECK(CalledOnValidThread());
+ return clipboard_stub_;
+}
+
void ConnectionToClient::set_host_stub(protocol::HostStub* host_stub) {
DCHECK(CalledOnValidThread());
host_stub_ = host_stub;
}
+HostStub* ConnectionToClient::host_stub() {
+ DCHECK(CalledOnValidThread());
+ return host_stub_;
+}
+
void ConnectionToClient::set_input_stub(protocol::InputStub* input_stub) {
DCHECK(CalledOnValidThread());
input_stub_ = input_stub;
}
+InputStub* ConnectionToClient::input_stub() {
+ DCHECK(CalledOnValidThread());
+ return input_stub_;
+}
+
void ConnectionToClient::OnSessionStateChange(Session::State state) {
DCHECK(CalledOnValidThread());
« no previous file with comments | « remoting/protocol/connection_to_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698