Chromium Code Reviews| 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..585f15990b27396e53e2b6f07962bfaa1a1180b4 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& GetDesktopEnvironmentFactory() = 0; |
|
Wez
2013/02/01 01:02:11
nit: This could be desktop_environment_factory(),
alexeypa (please no reviews)
2013/02/01 17:28:43
Done.
|
| + |
| // 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); |