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

Unified Diff: remoting/host/client_session.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/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 f0ab673e656cd9a06da760fb5b496a6a5fb31c22..6527481e733697f15873cce1d2626c0c120f3a7d 100644
--- a/remoting/host/client_session.h
+++ b/remoting/host/client_session.h
@@ -35,6 +35,7 @@ class AudioEncoder;
class AudioScheduler;
struct ClientSessionTraits;
class DesktopEnvironment;
+class DesktopEnvironmentFactory;
class ScreenRecorder;
class VideoEncoder;
class VideoFrameCapturer;
@@ -85,12 +86,14 @@ class ClientSession
virtual ~EventHandler() {}
};
+ // |event_handler| must outlive |this|. |desktop_environment_factory| is only
+ // used by the constructor to create an instance of DesktopEnvironment.
ClientSession(EventHandler* event_handler,
scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> network_task_runner,
scoped_ptr<protocol::ConnectionToClient> connection,
- scoped_ptr<DesktopEnvironment> desktop_environment,
+ DesktopEnvironmentFactory* desktop_environment_factory,
const base::TimeDelta& max_duration);
// protocol::HostStub interface.
« 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