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

Unified Diff: remoting/host/client_session.cc

Issue 10823244: Remove the HostEventStub aggregate interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/host/client_session.h ('k') | remoting/host/client_session_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/client_session.cc
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc
index d8c6af2c4a7753e86b08d8c0f662aae2baea4810..6e7e3d74b4b91e2beae37410d44f4d8b46463c2e 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -18,15 +18,17 @@ namespace remoting {
ClientSession::ClientSession(
EventHandler* event_handler,
scoped_ptr<protocol::ConnectionToClient> connection,
- protocol::HostEventStub* host_event_stub,
+ protocol::ClipboardStub* host_clipboard_stub,
+ protocol::InputStub* host_input_stub,
VideoFrameCapturer* capturer,
const base::TimeDelta& max_duration)
: event_handler_(event_handler),
connection_(connection.Pass()),
client_jid_(connection_->session()->jid()),
is_authenticated_(false),
- host_event_stub_(host_event_stub),
- input_tracker_(host_event_stub_),
+ host_clipboard_stub_(host_clipboard_stub),
+ host_input_stub_(host_input_stub),
+ input_tracker_(host_input_stub_),
remote_input_filter_(&input_tracker_),
mouse_input_filter_(&remote_input_filter_),
client_clipboard_factory_(clipboard_echo_filter_.client_filter()),
@@ -40,7 +42,7 @@ ClientSession::ClientSession(
connection_->set_clipboard_stub(this);
connection_->set_host_stub(this);
connection_->set_input_stub(this);
- clipboard_echo_filter_.set_host_stub(host_event_stub_);
+ clipboard_echo_filter_.set_host_stub(host_clipboard_stub_);
}
ClientSession::~ClientSession() {
« no previous file with comments | « remoting/host/client_session.h ('k') | remoting/host/client_session_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698