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

Unified Diff: remoting/host/client_session.cc

Issue 12379084: Pass the |curtain_activated| flag to IpcDesktopEnvironmentFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 10 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 | « no previous file | remoting/host/ipc_desktop_environment.h » ('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 fd289cb18e00bae56618d26562fb139516b0ef80..46bb5c5c7288090d8354100a4325359226e5a04c 100644
--- a/remoting/host/client_session.cc
+++ b/remoting/host/client_session.cc
@@ -47,6 +47,8 @@ ClientSession::ClientSession(
connection_(connection.Pass()),
connection_factory_(connection_.get()),
client_jid_(connection_->session()->jid()),
+ // TODO(alexeypa): delay creation of |desktop_environment_| until
+ // the curtain is enabled.
desktop_environment_(desktop_environment_factory->Create(
client_jid_,
base::Bind(&protocol::ConnectionToClient::Disconnect,
« no previous file with comments | « no previous file | remoting/host/ipc_desktop_environment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698