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

Unified Diff: remoting/host/desktop_session_agent.h

Issue 12087073: Pass a DesktopEnvironmentFactory when creating DesktopProcess. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased. fixed posix. 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/desktop_process_unittest.cc ('k') | remoting/host/desktop_session_agent.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/desktop_session_agent.h
diff --git a/remoting/host/desktop_session_agent.h b/remoting/host/desktop_session_agent.h
index 0145cb67a1f31ff0ad8c61085737a2492cf2e4de..f10088eaaf2ff677c9e23c8a6556ca315e6d3f2f 100644
--- a/remoting/host/desktop_session_agent.h
+++ b/remoting/host/desktop_session_agent.h
@@ -33,6 +33,7 @@ namespace remoting {
class AudioCapturer;
class AudioPacket;
class AutoThreadTaskRunner;
+class DesktopEnvironmentFactory;
class DisconnectWindow;
class EventExecutor;
class LocalInputMonitor;
@@ -54,12 +55,12 @@ class DesktopSessionAgent
public:
virtual ~Delegate();
+ // Returns an instance of desktop environment factory used.
+ virtual DesktopEnvironmentFactory& desktop_environment_factory() = 0;
+
// Notifies the delegate that the network-to-desktop channel has been
// disconnected.
virtual void OnNetworkProcessDisconnected() = 0;
-
- // Request the delegate to inject Secure Attention Sequence.
- virtual void InjectSas() = 0;
};
static scoped_refptr<DesktopSessionAgent> Create(
@@ -120,9 +121,6 @@ class DesktopSessionAgent
IPC::PlatformFileForTransit* client_out,
scoped_ptr<IPC::ChannelProxy>* server_out) = 0;
- // Creates an event executor specific to the platform.
- virtual scoped_ptr<EventExecutor> CreateEventExecutor() = 0;
-
// Handles StartSessionAgent request from the client.
void OnStartSessionAgent(const std::string& authenticated_jid);
« no previous file with comments | « remoting/host/desktop_process_unittest.cc ('k') | remoting/host/desktop_session_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698