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); |