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

Unified Diff: remoting/host/client_session.h

Issue 11781003: Connect to DesktopEnvironment's stubs only when audio/video schedulers are about to be created. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback #2 Created 7 years, 11 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/chromoting_host_unittest.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/client_session.h
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h
index c4e06570f352bd5d4e2d82cf5909c523a24003fc..f61cb53a78d04b2719ddfa1af3e196403d0ca536 100644
--- a/remoting/host/client_session.h
+++ b/remoting/host/client_session.h
@@ -133,10 +133,6 @@ class ClientSession
return connection_.get();
}
- DesktopEnvironment* desktop_environment() const {
- return desktop_environment_.get();
- }
-
const std::string& client_jid() { return client_jid_; }
bool is_authenticated() { return auth_input_filter_.enabled(); }
@@ -181,11 +177,8 @@ class ClientSession
std::string client_jid_;
- // The host clipboard and input stubs to which this object delegates.
- // These are the final elements in the clipboard & input pipelines, which
- // appear in order below.
- protocol::ClipboardStub* host_clipboard_stub_;
- protocol::InputStub* host_input_stub_;
+ // Filter used as the final element in the input pipeline.
+ protocol::InputFilter host_input_filter_;
// Tracker used to release pressed keys and buttons when disconnecting.
protocol::InputEventTracker input_tracker_;
@@ -197,7 +190,8 @@ class ClientSession
MouseClampingFilter mouse_clamping_filter_;
// Filter to used to stop clipboard items sent from the client being echoed
- // back to it.
+ // back to it. It is the final element in the clipboard (client -> host)
+ // pipeline.
protocol::ClipboardEchoFilter clipboard_echo_filter_;
// Filters used to manage enabling & disabling of input & clipboard.
« no previous file with comments | « remoting/host/chromoting_host_unittest.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698