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

Unified Diff: remoting/host/desktop_environment_factory.h

Issue 11028128: [Chromoting] Request the daemon to open a terminal once a connection has been accepted. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 2 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/daemon_process.cc ('k') | remoting/host/desktop_environment_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_environment_factory.h
diff --git a/remoting/host/desktop_environment_factory.h b/remoting/host/desktop_environment_factory.h
index 9bbd71c165699b77b0a5dea19463ea700a3eba4e..accab550d1d988a0c11e7d7397c947c73509a83e 100644
--- a/remoting/host/desktop_environment_factory.h
+++ b/remoting/host/desktop_environment_factory.h
@@ -15,6 +15,7 @@ class SingleThreadTaskRunner;
namespace remoting {
+class ClientSession;
class DesktopEnvironment;
class DesktopEnvironmentFactory {
@@ -24,7 +25,8 @@ class DesktopEnvironmentFactory {
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner);
virtual ~DesktopEnvironmentFactory();
- virtual scoped_ptr<DesktopEnvironment> Create();
+ // Creates an instance of |DesktopEnvironment| to be used by |client|.
+ virtual scoped_ptr<DesktopEnvironment> Create(ClientSession* client);
// Returns |true| if created |DesktopEnvironment| instances support audio
// capture.
« no previous file with comments | « remoting/host/daemon_process.cc ('k') | remoting/host/desktop_environment_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698